summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatus Ferech <matus.ferech@telekom.com>2020-01-26 20:37:08 +0100
committerMatus Ferech <matus.ferech@telekom.com>2020-01-26 20:37:08 +0100
commitc9329bbf028c5e5ce175e99859c9e842ab8234bc (patch)
treeef350908b1da4c87a2df337fe8e4c45f0753fada /docs
parent7fd3226fc6b629d503bc1b0a657bc21f69bc4696 (diff)
downloadgitlab-c9329bbf028c5e5ce175e99859c9e842ab8234bc.tar.gz
docs(auth): remove email/password auth
Diffstat (limited to 'docs')
-rw-r--r--docs/api-usage.rst3
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst
index d211e25..12c3dc7 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -23,9 +23,6 @@ To connect to a GitLab server, create a ``gitlab.Gitlab`` object:
import os
gl = gitlab.Gitlab('http://10.0.0.1', job_token=os.environ['CI_JOB_TOKEN'])
- # username/password authentication (for GitLab << 10.2)
- gl = gitlab.Gitlab('http://10.0.0.1', email='jdoe', password='s3cr3t')
-
# anonymous gitlab instance, read-only for public resources
gl = gitlab.Gitlab('http://10.0.0.1')