Exception: AuthFx::LockedUserError

Inherits:
UserError
  • Object
show all
Defined in:
lib/fx-auth/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(locked_until) ⇒ LockedUserError

Returns a new instance of LockedUserError.



29
30
31
32
# File 'lib/fx-auth/errors.rb', line 29

def initialize locked_until
  super "Your account is locked. You can try to sign on again in 30 minutes." # TODO localize
  @locked_until = locked_until # TODO display time in message?
end