add alert for account is locked

This commit is contained in:
pedong 2019-06-25 18:00:13 +02:00 committed by Pierre de La Morinerie
parent 0ed9c4cbd4
commit 9438f962c5
2 changed files with 18 additions and 10 deletions

View file

@ -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