Class: SimpleTokenAuthentication::SignInHandler

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/simple_token_authentication/sign_in_handler.rb

Instance Method Summary collapse

Instance Method Details

#sign_in(controller, record, *args) ⇒ Object

Devise sign in is performed through a controller which includes Devise::Controllers::SignInOut



7
8
9
10
11
# File 'lib/simple_token_authentication/sign_in_handler.rb', line 7

def (controller, record, *args)
  integrate_with_devise_trackable!(controller)

  controller.send(:sign_in, record, *args)
end