summaryrefslogtreecommitdiff
path: root/app/views/profiles
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-08-10 19:04:25 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-08-16 11:19:00 -0500
commit8bb1931ef2d25ee5dfc5352a3932b948656ddf94 (patch)
tree019925a25caeb5ccf223f63186def26d6484cbc5 /app/views/profiles
parentc5a7a70d10cc59e940f85ce21bc25e392ab68978 (diff)
downloadgitlab-ce-8bb1931ef2d25ee5dfc5352a3932b948656ddf94.tar.gz
Deny Git over HTTP access to users that have 2FA enabled, unless they use a Personal Access Token.
Diffstat (limited to 'app/views/profiles')
-rw-r--r--app/views/profiles/personal_access_tokens/index.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/profiles/personal_access_tokens/index.html.haml b/app/views/profiles/personal_access_tokens/index.html.haml
index 71ac367830d..03ee682b343 100644
--- a/app/views/profiles/personal_access_tokens/index.html.haml
+++ b/app/views/profiles/personal_access_tokens/index.html.haml
@@ -7,6 +7,10 @@
= page_title
%p
You can generate a personal access token for each application you use that needs access to the GitLab API.
+ %p
+ You can also use personal access tokens to authenticate against Git over HTTP. Use them specially when you
+ have 2FA enabled.
+
.col-lg-9
- if flash[:personal_access_token]