Due to change in authentication procedure I need to reset all sessions for all users, how do I do this in Rails 4?
相关问题
- Strong parameter override for DeviseTokenAuth cont
- Mechanize getting “Errno::ECONNRESET: Connection r
-
undefined method `type_cast' for #
- Tomcat 8 how to remove sessionCookieName from URL
- use same php session on another website on link cl
相关文章
- “No explicit conversion of Symbol into String” for
- form_for wrong number of arguments in rails 4
-
553 5.7.1
: Sender address rejected: not - Rails 4 app on Heroku is 500ing, but no error mess
- Creating multiple nested forms using simple_form a
- Rails Activerecord Relation: using subquery as a t
- Is a PHP Session acceptable with the new UK cookie
- whitelisting deeply nested strong parameters in ra
You can change the secret_key your app uses to encrypt cookies in config/initializers/secret_token.rb or you can change the name of the cookie key in config/initializers/session_store.rb either of these changes will invalidate all sessions and require them to be recreated (login again)