-
- Downloads
Instruct user to use a personal access token for Git over HTTP
If internal auth is disabled and LDAP is not configured on the instance, present the user with a message to create a personal access token if his Git over HTTP auth attempt fails.
Showing
- app/controllers/jwt_controller.rb 1 addition, 1 deletionapp/controllers/jwt_controller.rb
- app/controllers/projects/git_http_client_controller.rb 1 addition, 1 deletionapp/controllers/projects/git_http_client_controller.rb
- changelogs/unreleased/pat-msg-on-auth-failure.yml 4 additions, 0 deletionschangelogs/unreleased/pat-msg-on-auth-failure.yml
- lib/gitlab/auth.rb 5 additions, 1 deletionlib/gitlab/auth.rb
- spec/lib/gitlab/auth_spec.rb 6 additions, 0 deletionsspec/lib/gitlab/auth_spec.rb
- spec/requests/git_http_spec.rb 39 additions, 4 deletionsspec/requests/git_http_spec.rb
- spec/requests/jwt_controller_spec.rb 18 additions, 3 deletionsspec/requests/jwt_controller_spec.rb
Please register or sign in to comment