Class: CASino::TwoFactorAuthenticatorRegistratorListener

Inherits:
Listener
  • Object
show all
Defined in:
app/listeners/casino/two_factor_authenticator_registrator_listener.rb

Instance Method Summary collapse

Methods inherited from Listener

#initialize

Constructor Details

This class inherits a constructor from CASino::Listener

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_inObject



4
5
6
# File 'app/listeners/casino/two_factor_authenticator_registrator_listener.rb', line 4

def user_not_logged_in
  @controller.redirect_to 
end