Cleaned up debug code
This commit is contained in:
parent
e0ef46ca91
commit
ad5552c37a
@ -28,7 +28,6 @@ class LoginRedirect(View):
|
|||||||
'Authorization':'Basic %s'%settings.AUTH_B64
|
'Authorization':'Basic %s'%settings.AUTH_B64
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
print((settings.AUTH_B64))
|
|
||||||
resp_json = resp.json()
|
resp_json = resp.json()
|
||||||
if 'error' in resp_json:
|
if 'error' in resp_json:
|
||||||
return HttpResponse('<h1>OAuth Error</h1><pre>%s</pre>'%json.dumps(resp_json))
|
return HttpResponse('<h1>OAuth Error</h1><pre>%s</pre>'%json.dumps(resp_json))
|
||||||
|
Reference in New Issue
Block a user