we want to enable our customers beeing redirected to the page they were viewing before after they logged in and not to their user profile. I don’t find that anywhere in the doc - can anyone point to me where I can enable this?
I want also to know how to redirect after a valid custom login. to accoun/login
It worked for me in shopware 5.
but I am recoding the plugin I made for shopware 6 ( code must be different )
I managed to redirect using :
use \Symfony\Component\HttpFoundation\RedirectResponse;
$response = new RedirectResponse('frontend.account.login.page');
$response->send();
but I want to use My ContextToken (I am already logged)
to see the green screen (Logged) in the view. but it appears as If I am not logged…