mirror of
https://github.com/kennethreitz-archive/github2.git
synced 2026-06-05 23:50:18 +00:00
Authentication now works correctly. (changing data etc.)
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ class GithubRequest(object):
|
||||
}
|
||||
|
||||
def encode_authentication_data(self, extra_post_data):
|
||||
post_data = {"user": self.username,
|
||||
post_data = {"login": self.username,
|
||||
"token": self.api_token}
|
||||
post_data.update(extra_post_data)
|
||||
return urlencode(post_data)
|
||||
|
||||
Reference in New Issue
Block a user