From 99c1e9fe6d6bbdd9a13426bfa570908237e8122a Mon Sep 17 00:00:00 2001 From: gwoo Date: Thu, 26 Jul 2007 07:16:46 +0000 Subject: [PATCH] auth invalid login return false git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5466 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/components/auth.php | 1 + 1 file changed, 1 insertion(+) 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()) {