diff options
author | Utkarsh Gupta <guptautkarsh2102@gmail.com> | 2019-05-21 19:56:27 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-05-21 19:56:27 +0300 |
commit | 1a2d05c3a675a08760caeacbc983903a2a4c14ac (patch) | |
tree | c9c06bf6fc94cba217d847b76ed95135b7f24bf4 /config/initializers/8_devise.rb | |
parent | ab7e8475ce15e57509d7a22127deed36431a66e5 (diff) |
Bump devise to 4.6
Signed-off-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
Diffstat (limited to 'config/initializers/8_devise.rb')
-rw-r--r-- | config/initializers/8_devise.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/initializers/8_devise.rb b/config/initializers/8_devise.rb index 4683b02f300..3dd12c7e64d 100644 --- a/config/initializers/8_devise.rb +++ b/config/initializers/8_devise.rb @@ -100,6 +100,11 @@ Devise.setup do |config| # secure: true in order to force SSL only cookies. # config.cookie_options = {} + # When set to false, does not sign a user in automatically after their password is + # changed. Defaults to true, so a user is signed in automatically after a password + # is changed. + config.sign_in_after_change_password = false + # Send a notification email when the user's password is changed config.send_password_change_notification = true |