-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Logout functionality not working as expected #2984
Comments
Hmm...I'm not able to reproduce when running code-server locally off Screen.Recording.2021-03-26.at.1.08.10.PM.movI will investigate further. |
I installed Screen.Recording.2021-03-26.at.4.01.42.PM.movHow are you starting code-server? Do you have a password set or are you running with |
And can you check the browser logs after you hit Log out? There might be something there too |
I have the
|
FWIW I can also reproduce with 3.9.2, also using hashed-password (in config). |
Interesting... Maybe it's with the way we store/clear the hashed password 🤔 Thanks for reporting as well @ismail! @AurangAsif sorry, I should have been more specific. Can you post the browser logs? Wondering if we're seeing any errors there related to Log out |
By browser logs do you mean Chrome logs, |
Chrome logs, exactly! Sorry, I need to work on being more specific as you can see 😅 |
Here is what I see in the console just after clicking logout:
|
For whoever picks this up, some notes:
Could possible redirect to Food for thought. |
OS/Web Information
dpkg --print-architecture
: amd64code-server --version
: 3.9.2Steps to Reproduce
code-server
is runningFile
>Log out
Expected
The page should refresh and you should be on the login page once again
Actual
Page refreshes but you are still logged in
Screenshot
THE EXACT SAME AS AFTER A LOGIN
Notes
This issue can be reproduced in VS Code:
Yes/NoCannot testThe text was updated successfully, but these errors were encountered: