From 89136915620527bba6a9a4f42b94ba32d37f1db7 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Sat, 11 Jan 2020 15:52:27 +0800 Subject: [PATCH] Fix ISSUE2539 --- src/components/LoginNav/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/LoginNav/index.js b/src/components/LoginNav/index.js index 9891477..f1cbfed 100644 --- a/src/components/LoginNav/index.js +++ b/src/components/LoginNav/index.js @@ -70,11 +70,12 @@ const LoginNav = ({
{loggedIn ? renderLoginPanel() : ( { const retUrl = encodeURIComponent(window.location.href) - window.location = authURLs.location.replace('%S', retUrl) + window.location = authURLs.location.replace('%S', retUrl).replace('member?', '#!/member?') event.preventDefault() + return false }} > LOGIN