From d044f7616b461854f47e1d897a3d88dd9aea8ad3 Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Thu, 23 Jul 2020 15:48:51 +0200 Subject: [PATCH] Redirect to sign in after recover password --- config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 4fdc410c2..0981cc7e3 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -243,7 +243,7 @@ Devise.setup do |config| # When set to false, does not sign a user in automatically after their password is # reset. Defaults to true, so a user is signed in automatically after a reset. - # config.sign_in_after_reset_password = true + config.sign_in_after_reset_password = false # ==> Configuration for :encryptable # Allow you to use another encryption algorithm besides bcrypt (default). You can use