-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Infinited loop with login #2039
BUG: Infinited loop with login #2039
Conversation
… clicking the logout button.
After logging out, open a new page and enter the corresponding path. You should not enter the system. |
yes, now it can't access the system when clicked the logout button |
Hello, @yiboyasss @qinxuye Any questions please let me know. |
Hello @yiboyasss Any questions please let me know |
I've adjusted this part logic, please refer to the lastest commit: bb4aca1 |
bb4aca1
to
7a8cc30
Compare
Thanks for your contribution! |
Fixes #2021
Details:
auth
andtoken
insessionStore
to avoid conflicts with existing cookie key names.sessionStorage.setItem('token')
/sessionStorage.setItem('auth')
andsessionStorage.removeItem('token')
/sessionStorage.removeItem('auth')
logic accordingly.