mirror of
https://github.com/nikdoof/django-testauth.git
synced 2025-12-15 22:12:15 +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:
|
||||
# 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.add_password(realm='dredditauth',
|
||||
uri=api_url,
|
||||
|
||||
Reference in New Issue
Block a user