mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Fixing lockable to use the correct method
This commit is contained in:
parent
a7658f9d75
commit
61929d2e2f
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ module Devise
|
||||||
end
|
end
|
||||||
|
|
||||||
def unauthenticated_message
|
def unauthenticated_message
|
||||||
if self.respond_to?(:failed_attempts) && attempts_exceeded?
|
if lock_strategy_enabled?(:failed_attempts) && attempts_exceeded?
|
||||||
:locked
|
:locked
|
||||||
else
|
else
|
||||||
super
|
super
|
||||||
|
|
Loading…
Reference in a new issue