Commit 16f740ac authored by Rafael Monnerat's avatar Rafael Monnerat

ERP5Security: Values are split by comma

parent cd7114f4
...@@ -107,7 +107,7 @@ class ERP5ExternalAuthenticationPlugin(BasePlugin): ...@@ -107,7 +107,7 @@ class ERP5ExternalAuthenticationPlugin(BasePlugin):
external_login = getHeader(self.user_id_key) external_login = getHeader(self.user_id_key)
if external_login is not None: if external_login is not None:
creds['external_login'] = external_login creds['external_login'] = external_login
creds['login_portal_type'] = self.login_portal_type_list.split() creds['login_portal_type'] = self.login_portal_type_list.split(",")
else: else:
# fallback to default way # fallback to default way
return DumbHTTPExtractor().extractCredentials(request) return DumbHTTPExtractor().extractCredentials(request)
......
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