Skip to content

slapos_jio: fix ERP5Site_activeLogin

The commit dee343f3 said: slapos_jio: after activate the login come back to WebSite and not to the portal.

But it actually went to the WebSection and not the WebSite.

This fixes ERP5Site_activeLogin on slapos master because right now we have this URL in emails sent to customer to activate their login:

https://slapos.vifib.com/hateoas/connection/ERP5Site_activeLogin?key=XXX

So the script is setupping the came from as:

https://slapos.vifib.com/hateoas/connection/#!login?p.page=slapos{&n.me}

which is not working (returns AttributeError: form_view error)

The URL https://slapos.vifib.com/#!login?p.page=slapos{&n.me} is working though.

Edited by Thomas Gambier

Merge request reports