-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
After regular user logs out admin gets CSRF Error when logging in #6186
Comments
@tvdeyen @jarednorman @kennyadsl |
No, nothing to worry as this only happens to people with multiple accounts and different role sets (non-admin vs. admin). Regular people mostly don't have such accounts. And even if, it is easily solved by clearing the cache as you described. Nevertheless this is an annoying bug that we happy accept fixes for. |
ok so let's leave this open. |
I am surprised that this causes a CSRF error, though. @tvdeyen do you understand why that is? |
Session residuals in the browser probably. It points me back to the discussion to split user and admin sessions. Also looking at the state of devise we should all consider maybe moving this to discussions (@jarednorman I am not having a stroke). Maybe the day has come that devise does not serve us well anymore. |
Solidus Version:
4.4
To Reproduce
Log-in / register a regular user, log-out and try to login in as an admin via backend.
The only way to login in without error now is either using the front-end or clean cache and cookies.
Current behavior
CSRF Error
Expected behavior
Flawless login
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Untested
The text was updated successfully, but these errors were encountered: