From 569da996d2ea0d662fa475d9620b84e8315324d8 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Wed, 9 May 2018 15:56:47 +0200 Subject: [PATCH] [fix #1915] enable devise paranoid mode --- 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 903966660..4c8fe8b17 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -70,7 +70,7 @@ Devise.setup do |config| # It will change confirmation, password recovery and other workflows # to behave the same regardless if the e-mail provided was right or wrong. # Does not affect registerable. - # config.paranoid = true + config.paranoid = true # By default Devise will store the user in session. You can skip storage for # particular strategies by setting this option.