1
0
Fork 0
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:
Rodrigo Flores 2012-03-13 15:53:57 -03:00
parent a7658f9d75
commit 61929d2e2f

View file

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