Class: SimpleTokenAuthentication::SignInHandler

Inherits:
Object
  • Object
show all
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



5
6
7
8
9
# File 'lib/simple_token_authentication/sign_in_handler.rb', line 5

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

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