Log login failures at an INFO level
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 30 Jun 2010 20:04:09 +0000 (14:04 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 30 Jun 2010 20:04:09 +0000 (14:04 -0600)
imp/lib/Auth.php

index 8dd1164..5588696 100644 (file)
@@ -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."));
             }