Commit dee343f3 by Rafael Monnerat

slapos_jio: after activate the login come back to WebSite and not to the portal.

1 parent ccc4e9af
......@@ -6,7 +6,7 @@ portal = context.getPortalObject()
assert key
mail_message = portal.ERP5Site_unrestrictedSearchMessage(key=key)
came_from = portal.absolute_url() + "/#!login?p.page=slapos{&n.me}"
came_from = context.getWebSectionValue().absolute_url() + "/#!login?p.page=slapos{&n.me}"
credential_request = mail_message.getFollowUpValue()
if credential_request.getValidationState() in ('submitted', 'accepted'):
message = translateString("Your account is already active.")
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!