How can you redirect a user to previous page after the registration?

Hi ertuzio,

the loginAction of the account controller takes two parameters. shopware/Account.php at 5.3 · shopware/shopware · GitHub
After succesful login, this is the page, where the user will be redirected to. If the two parameters ‚sTarget‘ (controller name) and ‚sTargetAction‘ are not set, the user gets redirected to the account page. 
You can provide these two parameters to redirect where ever you like after the login. 

Best regards from Schöppingen

cool Michael Telgmann

2 „Gefällt mir“