gitlab-org--gitlab-foss/spec/requests
Robert Speicher a59c33e4a3 Merge branch '2fa-check-git-http' into 'master'
2FA checks for Git over HTTP

## What does this MR do?

This MR allows the use of `PersonalAccessTokens` to access Git over HTTP and makes that the only allowed method if the user has 2FA enabled. If a user with 2FA enabled tries to access Git over HTTP using his username and password the request will be denied and the user will be presented with the following message:

```
remote: HTTP Basic: Access denied
remote: You have 2FA enabled, please use a personal access token for Git over HTTP.
remote: You can generate one at http://localhost:3000/profile/personal_access_tokens
fatal: Authentication failed for 'http://localhost:3000/documentcloud/underscore.git/'
```

## What are the relevant issue numbers?

Fixes #13568 

See merge request !5764
2016-08-18 23:18:58 +00:00
..
api Small refactor and syntax fixes. 2016-08-18 16:47:26 -05:00
ci/api Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
git_http_spec.rb Refactor find_for_git_client method to not use assignment in conditionals and syntax fixes. 2016-08-17 17:21:18 -05:00
jwt_controller_spec.rb Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
lfs_http_spec.rb Fix typo 2016-08-11 15:05:49 +02:00