mirror of
https://github.com/nikdoof/django-testauth.git
synced 2025-12-16 19:33:45 +00:00
Updated new API URI
This commit is contained in:
2
auth.py
2
auth.py
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user