timeoverflow icon indicating copy to clipboard operation
timeoverflow copied to clipboard

Reset current_organization_id on logout

Open sseerrggii opened this issue 5 years ago • 0 comments

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 :scream:

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

sseerrggii avatar Mar 14 '19 18:03 sseerrggii