1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

last_attempt_warning should be true for now on.

This commit is contained in:
Lucas Mazza 2014-10-03 09:49:29 -03:00
parent 8b15184a25
commit 6405c96213
2 changed files with 2 additions and 2 deletions

View file

@ -280,7 +280,7 @@ module Devise
# When true, warn user if they just used next-to-last attempt of authentication
mattr_accessor :last_attempt_warning
@@last_attempt_warning = false
@@last_attempt_warning = true
# Stores the token generator
mattr_accessor :token_generator

View file

@ -183,7 +183,7 @@ Devise.setup do |config|
# config.unlock_in = 1.hour
# Warn on the last attempt before the account is locked.
# config.last_attempt_warning = false
# config.last_attempt_warning = true
# ==> Configuration for :recoverable
#