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.
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