Get authentication error after failed authentication.
authorJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 09:11:43 +0000 (11:11 +0200)
committerJan Schneider <jan@horde.org>
Mon, 20 Sep 2010 09:30:19 +0000 (11:30 +0200)
horde/login.php

index bdba797..1d81797 100644 (file)
@@ -191,6 +191,7 @@ if ($logout_reason) {
         exit;
     }
 
+    $logout_reason = $auth->getError();
     $entry = sprintf('FAILED LOGIN for %s [%s] to Horde',
                      $vars->horde_user, $_SERVER['REMOTE_ADDR']);
     Horde::logMessage($entry, 'ERR');