-
- Downloads
Merge branch 'jej/fix-disabled-oauth-access-10-3' into 'security-10-3'
[10.3] Prevent login with disabled OAuth providers See merge request gitlab/gitlabhq!2296 (cherry picked from commit 4936650427ffc88e6ee927aedbb2c724d24b094c) a0f9d222 Prevents login with disabled OAuth providers
Showing
- app/controllers/omniauth_callbacks_controller.rb 9 additions, 0 deletionsapp/controllers/omniauth_callbacks_controller.rb
- changelogs/unreleased/jej-fix-disabled-oauth-access.yml 5 additions, 0 deletionschangelogs/unreleased/jej-fix-disabled-oauth-access.yml
- lib/gitlab/o_auth.rb 6 additions, 0 deletionslib/gitlab/o_auth.rb
- lib/gitlab/o_auth/user.rb 6 additions, 5 deletionslib/gitlab/o_auth/user.rb
- spec/controllers/omniauth_callbacks_controller_spec.rb 75 additions, 0 deletionsspec/controllers/omniauth_callbacks_controller_spec.rb
- spec/features/oauth_login_spec.rb 1 addition, 2 deletionsspec/features/oauth_login_spec.rb
- spec/support/devise_helpers.rb 9 additions, 6 deletionsspec/support/devise_helpers.rb
- spec/support/login_helpers.rb 7 additions, 0 deletionsspec/support/login_helpers.rb
lib/gitlab/o_auth.rb
0 → 100644
Please register or sign in to comment