Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trytond/trytond/protocols/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def rpc_params(self):
@cached_property
def authorization(self):
authorization = super(Request, self).authorization
if authorization is None:
if authorization is None or authorization.type in ('token', 'bearer'):
header = self.headers.get('Authorization')
return parse_authorization_header(header)
elif authorization.type == 'session':
Expand Down