Open Quehnie opened 3 years ago
I think we need to pass the prefix of the current portal to the path()
function. Have not tested it, but that should look something like this:
path('sulu_community.login', {prefix: app.request.attributes.get('_sulu').getAttribute('portalInformation').getPrefix()})
Actual Behavior
if in dev environment path('sulu_community') = /de/login when changed into stage env path('sulu_community') = /login so it creates a redirect and lose my post data. both webspaces environments are with /{localization} and the route include is type portal.
Expected Behavior
in both environments it will prefix the language.
Steps to Reproduce
Install sulu and change env, just look at the action of the login form.
Possible Solutions
I fixed it by removing type portal and add prefix: /{_locale}