From f15dc78e50f4d88220d78b41a7b9afae9ea724ea Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 30 Jun 2010 14:04:09 -0600 Subject: [PATCH] Log login failures at an INFO level --- imp/lib/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Auth.php b/imp/lib/Auth.php index 8dd116445..558869690 100644 --- a/imp/lib/Auth.php +++ b/imp/lib/Auth.php @@ -72,7 +72,7 @@ class IMP_Auth try { $imp_imap->login(); } catch (Horde_Imap_Client_Exception $e) { - self::_logMessage($e->getMessage(), 'ERR'); + self::_logMessage('Login failed', 'INFO'); if ($e->getCode() == Horde_Imap_Client_Exception::SERVER_CONNECT) { throw new Horde_Auth_Exception(_("Could not connect to the remote server.")); } -- 2.11.0