Class: CASino::TwoFactorAuthenticatorRegistratorListener
- Inherits:
-
Listener
- Object
- Listener
- CASino::TwoFactorAuthenticatorRegistratorListener
show all
- Defined in:
- app/listeners/casino/two_factor_authenticator_registrator_listener.rb
Instance Method Summary
collapse
Methods inherited from Listener
#initialize
Instance Method Details
#two_factor_authenticator_registered(two_factor_authenticator) ⇒ Object
8
9
10
|
# File 'app/listeners/casino/two_factor_authenticator_registrator_listener.rb', line 8
def two_factor_authenticator_registered(two_factor_authenticator)
assign(:two_factor_authenticator, two_factor_authenticator)
end
|
#user_not_logged_in ⇒ Object
4
5
6
|
# File 'app/listeners/casino/two_factor_authenticator_registrator_listener.rb', line 4
def user_not_logged_in
@controller.redirect_to login_path
end
|