mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
Fix auth-related errors breaking unit tests.
This commit is contained in:
@@ -39,6 +39,7 @@ class TokenAuthentication(authentication.TokenAuthentication):
|
||||
if token:
|
||||
token = urllib.unquote(token).strip('"')
|
||||
return 'token %s' % token
|
||||
return ''
|
||||
|
||||
def authenticate(self, request):
|
||||
self.request = request
|
||||
|
||||
Reference in New Issue
Block a user