Commit c82e96dc authored by Mihai Patrascoiu's avatar Mihai Patrascoiu
Browse files

Remove redundant log messages

parent 7194c071
Pipeline #2241013 failed with stage
in 33 seconds
......@@ -576,11 +576,9 @@ class ResourceProvider(Provider):
def get_authorization(self):
"""Get authorization object representing status of authentication."""'get_authorization')
auth = self.authorization_class()
header = self.get_authorization_header()
if not header or not header.split:'no header')
return auth
header = header.split()
if len(header) > 1 and header[0] == 'Bearer':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment