diff --git a/product/ERP5Security/ERP5ExternalOauth2ExtractionPlugin.py b/product/ERP5Security/ERP5ExternalOauth2ExtractionPlugin.py index 1d8adcf9e0381432290dac4fd6ac0209ee8e8872..8a5a9e72631d14a53d8611b666431d0239aa951f 100644 --- a/product/ERP5Security/ERP5ExternalOauth2ExtractionPlugin.py +++ b/product/ERP5Security/ERP5ExternalOauth2ExtractionPlugin.py @@ -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