mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
last_attempt_warning should be true for now on.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user