From a4f0c520f4250ceb228087f31f7b351f74989020 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Thu, 17 Aug 2017 14:43:31 +0200 Subject: [v4] drop unused CurrentUserManager.credentials_auth method --- gitlab/v4/objects.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gitlab/v4/objects.py') 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 -- cgit v1.2.1