Skip to content
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

fix(web): log out #5706

Merged
merged 2 commits into from
Dec 15, 2023
Merged

fix(web): log out #5706

merged 2 commits into from
Dec 15, 2023

Conversation

martabal
Copy link
Member

Changes made in this PR

Currently, if you log out and log in with a different account, you are still logged in with the account you were logged in with before you logged out. This PR fixes it by resetting the user store to undefined.

@martabal martabal changed the title fix: logging out fix(web): log out Dec 14, 2023
Copy link

cloudflare-pages bot commented Dec 14, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 02af633
Status: ✅  Deploy successful!
Preview URL: https://eab96d2a.immich.pages.dev
Branch Preview URL: https://fix-logging-out.immich.pages.dev

View logs

@alextran1502 alextran1502 enabled auto-merge (squash) December 15, 2023 02:25
@alextran1502 alextran1502 merged commit 5024958 into main Dec 15, 2023
19 checks passed
@alextran1502 alextran1502 deleted the fix/logging-out branch December 15, 2023 02:29
jonhnet pushed a commit to jonhnet/immich that referenced this pull request Dec 15, 2023
* fix: logging out

* fix: websocket

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants