Code

Initialize config object before using it
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 Oct 2009 15:10:31 +0000 (15:10 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 Oct 2009 15:10:31 +0000 (15:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14598 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php

index 34e0279d4cdb58a3aa42935a8ec9512510850e06..8b7852860eba9a77cccd7761a7b2d72eb56efce3 100644 (file)
@@ -320,7 +320,8 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
     if ($ui === NULL || !$ui){
       $message= _("Please check the username/password combination.");
       $smarty->assign ('nextfield', 'password');
-      new log("security","login","",array(),"Authentication failed for user \"$username\"") ;
+      session::global_set('config',$config);
+      new log("security","login","",array(),"Authentication failed for user \"$username\"");
     } else {
       /* Remove all locks of this user */
       del_user_locks($ui->dn);