Commit 0bc559f8 authored by Rafael Monnerat's avatar Rafael Monnerat

Missing 'portal_type' defined

See merge request nexedi/slapos.core!244
parents 98f7de66 fce4d6a6
......@@ -61,6 +61,7 @@ else:
message_str = "Thank you for your registration. You will receive an email to activate your account."
else:
# no email verification is needed
portal_type = context.Base_translateString("Credential Request")
credential_request.submit("Automatic submit")
message_str = context.Base_translateString("${portal_type} Created.", mapping=({'portal_type': portal_type}))
......
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