Skip to content

Commit

Permalink
[v4] drop unused CurrentUserManager.credentials_auth method
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Aug 17, 2017
1 parent b919555 commit a4f0c52
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gitlab/v4/objects.py
Expand Up @@ -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
Expand Down

0 comments on commit a4f0c52

Please sign in to comment.