summaryrefslogtreecommitdiff
path: root/config/initializers/devise.rb
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2015-12-09 11:45:26 -0600
committerDrew Blessing <drew@gitlab.com>2015-12-09 18:40:37 -0600
commitf4ec906e90b2f8dbf18b359b773e3b31f5da89ff (patch)
treefd9d5a760e8100e643e49b6e26fe9d007d004b98 /config/initializers/devise.rb
parent7b50965e9990bcb88f56b771d47514cbeb5316e5 (diff)
downloadgitlab-ce-f4ec906e90b2f8dbf18b359b773e3b31f5da89ff.tar.gz
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.rb2
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