Reputation: 4320
Im just about to perform an update to my app, I want to log out all users that have remembered session. I mean, once I deploy the update I want to force all the users to log in again.
What is the best way to do it?
Upvotes: 11
Views: 3633
Reputation: 1559
If you're storing in active_record, just delete all the sessions.
rake db:sessions:clear
If cookies, just change your session_token
Upvotes: 19