summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-08-17 14:43:31 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-08-17 14:43:31 +0200
commita4f0c520f4250ceb228087f31f7b351f74989020 (patch)
tree9aad6bfd97338d028767cdbb134bce67cac80576 /gitlab
parentb919555cb434005242e16161abba9ae022455b31 (diff)
downloadgitlab-a4f0c520f4250ceb228087f31f7b351f74989020.tar.gz
[v4] drop unused CurrentUserManager.credentials_auth method
Diffstat (limited to 'gitlab')
-rw-r--r--gitlab/v4/objects.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index e3780a9..03d75bf 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -260,11 +260,6 @@ class CurrentUserManager(GetWithoutIdMixin, RESTManager):
_path = '/user'
_obj_cls = CurrentUser
- def credentials_auth(self, email, password):
- data = {'email': email, 'password': password}
- server_data = self.gitlab.http_post('/session', post_data=data)
- return CurrentUser(self, server_data)
-
class ApplicationSettings(SaveMixin, RESTObject):
_id_attr = None