You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Users::SessionsController < Devise::SessionsController
# POST /resource/sign_in
def create
raise 'this should get your attention'
super
end
end
After enabling :fido_usf_registerable and :fido_usf_authenticatable in my user model, I found that Users::SessionsController#create was never being called, despite the user still being successfully signed in.
Ruby v2.4.3
Rails v5.1.6
Devise FIDO USF v0.1.9
The text was updated successfully, but these errors were encountered:
brianewell
changed the title
devise-fido-u2f gem interferes with customized Devise::SessionsController#create
devise-fido-u2f interferes with custom Devise::SessionsController#create
Aug 16, 2018
Standard Devise actions can be overridden with customized controller code as follows:
config/routes.rb
:app/controllers/users/sessions_controller.rb
:After enabling
:fido_usf_registerable
and:fido_usf_authenticatable
in my user model, I found that Users::SessionsController#create was never being called, despite the user still being successfully signed in.Ruby v2.4.3
Rails v5.1.6
Devise FIDO USF v0.1.9
The text was updated successfully, but these errors were encountered: