Updated new API URI

This commit is contained in:
2010-06-15 20:48:18 +01:00
parent 50b86d9e0f
commit 1afab2e26f

View File

@@ -17,7 +17,7 @@ class DredditAuthBackend:
if username and password: if username and password:
# Call the webservice # Call the webservice
api_url = 'https://auth.dredd.it/api/user/' api_url = 'https://auth.dredd.it/api/login/'
auth_handler = urllib2.HTTPBasicAuthHandler() auth_handler = urllib2.HTTPBasicAuthHandler()
auth_handler.add_password(realm='dredditauth', auth_handler.add_password(realm='dredditauth',
uri=api_url, uri=api_url,