timeoverflow
timeoverflow copied to clipboard
Reset current_organization_id on logout
Seems that current_organization_id saved in session[:current_organization_id] persist after logout. This generate some problems, I noticed that:
- I login in mobile app with user in organization 1
- logout
- Try to login again but with user that belongs to organizatio 2
- 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