logout_user() seems to do nothing #785
Unanswered
plakkiesza
asked this question in
Q&A
Replies: 1 comment
-
I don't know what I did, but now it works. I left the problem while doing other developments. Today I tried it again and it works. Two other users with the same problem are working now as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Under normal situations it works perfectly fine. I can login and logout as expected. However I just put a new feature on my site where I can login as someone else. This was done in order to see things as they would and help with debugging. I do this on the user page with a button that triggers the following code.
This works as expected, however if I try logout It does not do so. I have to clear the cookies for the system to log me out. Whats interesting is if a user has done this once they can never logout ever again in the normal fashion.
Any ideas?
edit: I just tried it on my phone and everything works as expected. I'm wondering if this has something to do with Firefox?
Beta Was this translation helpful? Give feedback.
All reactions