We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad1eca6 + 4015993 commit 271179aCopy full SHA for 271179a
knox/auth.py
@@ -29,7 +29,7 @@ class TokenAuthentication(BaseAuthentication):
29
30
def authenticate(self, request):
31
auth = get_authorization_header(request).split()
32
- prefix = knox_settings.AUTH_HEADER_PREFIX.encode()
+ prefix = self.authenticate_header(request).encode()
33
34
if not auth:
35
return None
0 commit comments