Commit ccda6378 authored by Łukasz Nowak's avatar Łukasz Nowak

Encode to hex.

Data can be really complex string, which can be bad for tag.
parent 093c6e7a
......@@ -175,7 +175,7 @@ class ERP5ExternalOauth2ExtractionPlugin:
# fallback to default way
return DumbHTTPExtractor().extractCredentials(request)
tag = '%s_user_creation_in_progress' % user
tag = '%s_user_creation_in_progress' % user.encode('hex')
if self.getPortalObject().portal_activities.countMessageWithTag(tag) > 0:
self.REQUEST['USER_CREATION_IN_PROGRESS'] = user
......
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