Corrects bad merge.

Bad merge: d161b21ae1

Fixes #3938.
This commit is contained in:
Phally 2013-07-26 20:00:32 +02:00
parent 933013f808
commit a70e004cda

View file

@ -352,7 +352,7 @@ class AuthComponent extends Component {
if (!$controller->request->is('ajax')) {
$this->flash($this->authError);
$this->Session->write('Auth.redirect', $controller->request->here());
$this->Session->write('Auth.redirect', $controller->request->here(false));
$controller->redirect($this->loginAction);
return false;
}