diff options
author | Drew Blessing <drew@gitlab.com> | 2015-12-09 20:45:26 +0300 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2015-12-10 03:40:37 +0300 |
commit | f4ec906e90b2f8dbf18b359b773e3b31f5da89ff (patch) | |
tree | fd9d5a760e8100e643e49b6e26fe9d007d004b98 /config/initializers/devise.rb | |
parent | 7b50965e9990bcb88f56b771d47514cbeb5316e5 (diff) |
Use devise paranoid mode and ensure the same message is returned every time
Skipped CI because it has already passed. Had to rebase due to CHANGELOG.
Diffstat (limited to 'config/initializers/devise.rb')
-rw-r--r-- | config/initializers/devise.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 29506970af2..5fb43a86e13 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -60,7 +60,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 # ==> Configuration for :database_authenticatable # For bcrypt, this is the cost for hashing the password and defaults to 10. If |