Commit dee343f3 authored by Rafael Monnerat's avatar Rafael Monnerat

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

parent ccc4e9af
......@@ -6,7 +6,7 @@ portal = context.getPortalObject()
assert key
mail_message = portal.ERP5Site_unrestrictedSearchMessage(key=key)
came_from = portal.absolute_url() + "/#!login?{&}"
came_from = context.getWebSectionValue().absolute_url() + "/#!login?{&}"
credential_request = mail_message.getFollowUpValue()
if credential_request.getValidationState() in ('submitted', 'accepted'):
message = translateString("Your account is already active.")
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