|
|
@ -205,7 +205,7 @@ Devise.setup do |config| |
|
|
|
# :time = Re-enables login after a certain amount of time (see :unlock_in below) |
|
|
|
# :time = Re-enables login after a certain amount of time (see :unlock_in below) |
|
|
|
# :both = Enables both strategies |
|
|
|
# :both = Enables both strategies |
|
|
|
# :none = No unlock strategy. You should handle unlocking by yourself. |
|
|
|
# :none = No unlock strategy. You should handle unlocking by yourself. |
|
|
|
config.unlock_strategy = :time |
|
|
|
config.unlock_strategy = :both |
|
|
|
|
|
|
|
|
|
|
|
# Number of authentication tries before locking an account if lock_strategy |
|
|
|
# Number of authentication tries before locking an account if lock_strategy |
|
|
|
# is failed attempts. |
|
|
|
# is failed attempts. |
|
|
|