forked from wallabag/wallabag
feat: use session instead of referer for redirects
This commit is contained in:
committed by
Michael
parent
f9c5403529
commit
13bd448e01
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user