summaryrefslogtreecommitdiff
path: root/doc/api/session.md
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-06-13 14:10:31 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-06-14 08:40:21 +0200
commit8fb33b8f01c3b53a16cd5e086361c85d061b4de0 (patch)
treecfda582b26139f4dccb521a4810ec2d398d4d66e /doc/api/session.md
parent578f460674e14b4c8ca71cda7ac5a0378b724712 (diff)
downloadgitlab-ce-8fb33b8f01c3b53a16cd5e086361c85d061b4de0.tar.gz
Add docs for personal access tokensdocs/personal-access-tokens
Diffstat (limited to 'doc/api/session.md')
-rw-r--r--doc/api/session.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/api/session.md b/doc/api/session.md
index 7dd504b67c5..f79eac11689 100644
--- a/doc/api/session.md
+++ b/doc/api/session.md
@@ -1,11 +1,9 @@
# Session API
-## Deprecation Notice
-
-1. Starting in GitLab 8.11, this feature has been *disabled* for users with two-factor authentication turned on.
-2. These users can access the API using [personal access tokens] instead.
-
----
+>**Deprecation notice:**
+Starting in GitLab 8.11, this feature has been **disabled** for users with
+[two-factor authentication][2fa] turned on. These users can access the API
+using [personal access tokens] instead.
You can login with both GitLab and LDAP credentials in order to obtain the
private token.
@@ -52,4 +50,5 @@ Example response:
}
```
-[personal access tokens]: ./README.md#personal-access-tokens
+[2fa]: ../user/profile/account/two_factor_authentication.md
+[personal access tokens]: ../user/profile/personal_access_tokens.md