1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-06 17:41:01 +00:00

feat: use session instead of referer for redirects

This commit is contained in:
Michael Ciociola 2022-12-04 14:16:00 -06:00 committed by Michael
parent f9c5403529
commit 13bd448e01
3 changed files with 13 additions and 18 deletions

View file

@ -626,7 +626,7 @@ class ConfigController extends Controller
$em->persist($user);
$em->flush();
return $this->redirect($request->headers->get('referer'));
return $this->redirect($request->getSession()->get('prevUrl'));
}
/**