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:
parent
f9c5403529
commit
13bd448e01
3 changed files with 13 additions and 18 deletions
|
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue