Can't logout when already logged out (session expiry in backend)
Closed this issue · 2 comments
This is a bug.
Prerequisites
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you check the documentation?
- Did you perform a cursory search?
Description
When trying to log out, the api responds with a 419 (unknown status) and the SPA crashes (uncaught error Request failed with status code 419
)
Steps to Reproduce
- Log in to the SPA; ensure you're on a page that has a logout button
- wait for session expiry or log that session out from the backend only
- click the logout button
Expected behavior
Get redirected to the login page
Actual behavior
nothing happens (console has errors mentioned above)
This is a bug and the sarcasm is misplaced here.
Lately I'm oscillating between focusing on the constructive contribution that you are having on Enso and banning you from the repo for all the other reasons that I mentioned over time.
LE: edit the description ;)
and the sarcasm is misplaced here.
I actually wasn't trying to be sarcastic; there have been several things that I saw as a bug that you didn't see that way, so I was just trying to cover both this time. 😅
Also, I'm sorry you feel that way; I know I can be (too) impulsive at times (which is likely the core reason behind 90+% of your frustrations 😅 ).
I hope those other reasons can fade away over time :)