-
- Downloads
There was an error fetching the commit references. Please try again later.
Ensure Warden triggers after_authentication callback
By not triggering the callback: - ActiveSession lookup keys are not cleaned - Devise also misses its hook related to session cleanup
Showing
- app/controllers/concerns/authenticates_with_two_factor.rb 2 additions, 2 deletionsapp/controllers/concerns/authenticates_with_two_factor.rb
- app/controllers/omniauth_callbacks_controller.rb 1 addition, 1 deletionapp/controllers/omniauth_callbacks_controller.rb
- app/controllers/sessions_controller.rb 11 additions, 0 deletionsapp/controllers/sessions_controller.rb
- changelogs/unreleased/64257-warden_set_user_fix.yml 5 additions, 0 deletionschangelogs/unreleased/64257-warden_set_user_fix.yml
- lib/gitlab/auth/activity.rb 5 additions, 2 deletionslib/gitlab/auth/activity.rb
- spec/features/oauth_login_spec.rb 1 addition, 0 deletionsspec/features/oauth_login_spec.rb
- spec/features/users/login_spec.rb 28 additions, 10 deletionsspec/features/users/login_spec.rb
Please register or sign in to comment