Skip to content

Commit 8913691

Browse files
Fix ISSUE2539
1 parent f284bd4 commit 8913691

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/LoginNav/index.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,12 @@ const LoginNav = ({
7070
<div className={styles.loginContainer}>
7171
{loggedIn ? renderLoginPanel() : (
7272
<a
73-
href={authURLs.href}
73+
href='javascript:void(0)'
7474
onClick={(event) => {
7575
const retUrl = encodeURIComponent(window.location.href)
76-
window.location = authURLs.location.replace('%S', retUrl)
76+
window.location = authURLs.location.replace('%S', retUrl).replace('member?', '#!/member?')
7777
event.preventDefault()
78+
return false
7879
}}
7980
>
8081
LOGIN

0 commit comments

Comments
 (0)