After regular user logs out admin gets CSRF Error when logging in #6212
Replies: 7 comments
-
@tvdeyen @jarednorman @kennyadsl |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
ok so let's leave this open. |
Beta Was this translation helpful? Give feedback.
-
I am surprised that this causes a CSRF error, though. @tvdeyen do you understand why that is? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@jarednorman can you move this to a discussion? |
Beta Was this translation helpful? Give feedback.
-
Well isn't that something. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions