mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Remove session-based redirection
This commit is contained in:
parent
f4493f7472
commit
7ebc96f3b9
11 changed files with 52 additions and 41 deletions
|
@ -649,7 +649,7 @@ class ConfigController extends AbstractController
|
|||
$this->entityManager->persist($user);
|
||||
$this->entityManager->flush();
|
||||
|
||||
$redirectUrl = $this->redirectHelper->to($request->getSession()->get('prevUrl'));
|
||||
$redirectUrl = $this->redirectHelper->to($request->query->get('redirect'));
|
||||
|
||||
return $this->redirect($redirectUrl);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue