Created
March 1, 2017 03:10
-
-
Save simonlehmann/12e3aa3c6677df203727508aa896a998 to your computer and use it in GitHub Desktop.
Sign out all Devise users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be sure to restart your server when you modify this file. | |
Rails.application.config.session_store :cookie_store, key: '_myapp_name_session' | |
# Change :key (e.g: from _myapp_name_session to _myapp_name_sessions) and all users are logged out after server restart. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment