Skip to content

Commit

Permalink
fix the token authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Feb 16, 2013
1 parent 523d764 commit 938b1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab.py
Expand Up @@ -93,7 +93,7 @@ def credentials_auth(self):

def token_auth(self):
try:
self.user = self.get(CurrentUser)
self.user = CurrentUser(self)
return True
except:
return False
Expand Down

0 comments on commit 938b1e6

Please sign in to comment.