mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 03:41:50 -05:00
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