Skip to content

Commit

Permalink
[#28] Enable paranoid mode to prevent account enumeration attacks
Browse files Browse the repository at this point in the history
  • Loading branch information
malparty committed Jun 23, 2021
1 parent afd4b1e commit 441cd24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
# 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.
Expand Down

0 comments on commit 441cd24

Please sign in to comment.