8000 [v4] drop unused CurrentUserManager.credentials_auth method · python-gitlab/python-gitlab@a4f0c52 · GitHub
[go: up one dir, main page]

Skip to content

Commit a4f0c52

Browse files
author
Gauvain Pocentek
committed
[v4] drop unused CurrentUserManager.credentials_auth method
1 parent b919555 commit a4f0c52

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

gitlab/v4/objects.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,6 @@ class CurrentUserManager(GetWithoutIdMixin, RESTManager):
260260
_path = '/user'
261261
_obj_cls = CurrentUser
262262

263-
def credentials_auth(self, email, password):
264-
data = {'email': email, 'password': password}
265-
server_data = self.gitlab.http_post('/session', post_data=data)
266-
return CurrentUser(self, server_data)
267-
268263

269264
class ApplicationSettings(SaveMixin, RESTObject):
270265
_id_attr = None

0 commit comments

Comments
 (0)
0