Method: Credential#locked_out?

Defined in:
app/models/credential.rb

#locked_out?(find_at) ⇒ Boolean

Returns:

  • (Boolean)


63
64
65
66
67
68
# File 'app/models/credential.rb', line 63

def locked_out?(find_at)
   > 0 and
   and
  ( % ) == 0 and 
  locked_until(find_at) > 0
end