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

[BUG] Logout doesn't work when there are multiple open tabs #14

Open
ofriw opened this issue Feb 13, 2025 · 0 comments
Open

[BUG] Logout doesn't work when there are multiple open tabs #14

ofriw opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ofriw
Copy link
Collaborator

ofriw commented Feb 13, 2025

Describe the bug
GoatDB.logout() doesn't work when multiple tabs are open

To Reproduce
Steps to reproduce the behavior:

  1. Login
  2. Open a second tab
  3. Call db.lougout() from one of the tabs
  4. Both tabs remain logged in

Expected behavior
Both tabs should be logged out

Additional context
This is a byproduct of the current OPFS implementation. Logout needs to be actively coordinated amongst different tabs

@ofriw ofriw added the bug Something isn't working label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant