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

Reset current_organization_id on logout #474

Open
sseerrggii opened this issue Mar 14, 2019 · 0 comments
Open

Reset current_organization_id on logout #474

sseerrggii opened this issue Mar 14, 2019 · 0 comments

Comments

@sseerrggii
Copy link
Contributor

Seems that current_organization_id saved in session[:current_organization_id] persist after logout. This generate some problems, I noticed that:

  1. I login in mobile app with user in organization 1
  2. logout
  3. Try to login again but with user that belongs to organizatio 2
  4. I login with this user but app shows organization 1 😱

This problem only occurs in the mobile app, I'm not sure if its something from this repo or from https://github.com/coopdevs/timeoverflow-mobile-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant