diff --git a/cake/libs/controller/components/auth.php b/cake/libs/controller/components/auth.php index acfc256c4..1b61533d7 100644 --- a/cake/libs/controller/components/auth.php +++ b/cake/libs/controller/components/auth.php @@ -299,6 +299,7 @@ class AuthComponent extends Object { $this->Session->setFlash($this->loginError, 'default', array(), 'Auth.login'); unset($controller->data[$this->userModel][$this->fields['password']]); } + return false; } else { if (!$this->user()) { if (!$this->RequestHandler->isAjax()) {