Code

Added rSyslog plugin to contrib/gosa.conf
[gosa.git] / gosa-core / html / index.php
index 18f3564b2a2a4f115587e570b8ac0737fb894a6a..8b7852860eba9a77cccd7761a7b2d72eb56efce3 100644 (file)
@@ -91,6 +91,7 @@ function displayLogin()
   }
   $smarty->assign("msg_dialogs", msg_dialog::get_dialogs());
   $smarty->assign("iePngWorkaround", $config->get_cfg_value("iePngWorkaround","false" ) == "true");
+  $smarty->assign("usePrototype", "false");
   $smarty->display (get_template_path('headers.tpl'));
   $smarty->assign("version",get_gosa_version());
   $smarty->display(get_template_path('login.tpl'));
@@ -319,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);