gitlab-org--gitlab-foss/app/views/profiles
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
..
accounts Remove provider path, replace with dynamic path. 2016-08-03 11:50:38 -06:00
emails Fix preferences tests. 2016-06-30 10:42:07 -06:00
keys Update the help_page_path route to accept paths directly instead of using parameters. 2016-07-11 12:55:25 -06:00
notifications Fix preferences tests. 2016-06-30 10:42:07 -06:00
passwords Implement top navigation concept for profile area 2016-04-19 20:05:30 +02:00
personal_access_tokens Refactor find_for_git_client method to not use assignment in conditionals and syntax fixes. 2016-08-17 17:21:18 -05:00
preferences Update the help_page_path route to accept paths directly instead of using parameters. 2016-07-11 12:55:25 -06:00
two_factor_auths Allow naming U2F devices. 2016-08-18 22:12:02 +05:30
_event_table.html.haml audit log UI update 2016-03-02 17:06:01 +00:00
_head.html.haml Replace namespace-specific application.js files with namespace-bundle.js files. 2016-07-15 14:42:28 -06:00
audit_log.html.haml Fix preferences tests. 2016-06-30 10:42:07 -06:00
show.html.haml Fix preferences tests. 2016-06-30 10:42:07 -06:00
update_username.js.haml