Commit d988600f authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

credential: py3 wip

parent 67f81958
......@@ -35,7 +35,7 @@ for portal_type in related_portal_type:
context.CredentialRequest_updateLocalRolesOnSecurityGroups()
if password is not None:
if password.startswith('{SSHA}'):
if password.startswith(b'{SSHA}'):
#password is encoded, set it to None to script witch send the password to user
password = None
# Send notification in activities
......
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