add alert for account is locked
This commit is contained in:
parent
0ed9c4cbd4
commit
9438f962c5
2 changed files with 18 additions and 10 deletions
|
@ -164,7 +164,7 @@ Devise.setup do |config|
|
|||
config.lock_strategy = :failed_attempts
|
||||
|
||||
# Defines which key will be used when locking and unlocking an account
|
||||
config.unlock_keys = [ :email ]
|
||||
config.unlock_keys = [:email]
|
||||
|
||||
# Defines which strategy will be used to unlock an account.
|
||||
# :email = Sends an unlock link to the user email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue