diff --git a/lib/Cake/Controller/Component/AuthComponent.php b/lib/Cake/Controller/Component/AuthComponent.php index c0869571f9a..3ce93c9993b 100644 --- a/lib/Cake/Controller/Component/AuthComponent.php +++ b/lib/Cake/Controller/Component/AuthComponent.php @@ -332,7 +332,7 @@ public function startup(Controller $controller) { if (!empty($this->loginRedirect)) { $default = $this->loginRedirect; } - $controller->redirect($controller->referer($default), null, true); + $controller->redirect($controller->referer($default, true), null, true); return false; }