Commit 8fd932fe authored by Łukasz Nowak's avatar Łukasz Nowak

Fixup 468a5f32

parent 468a5f32
......@@ -108,7 +108,7 @@ class ERP5BearerExtractionPlugin(BasePlugin):
token = None
if request._auth is not None:
# 1st - try to fetch from Authorization header
if 'Bearer' in request._auth.lower():
if 'bearer' in request._auth.lower():
l = request._auth.split()
if len(l) == 2:
token = l[1]
......
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