From 7389f1c45be733fb305798f96ea4ddf651df090d Mon Sep 17 00:00:00 2001 From: janw Date: Fri, 12 Mar 2010 08:33:39 +0000 Subject: [PATCH] Move config object to session. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16475 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index ebae5e52f..7e27691e0 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -307,6 +307,7 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces if ($ok) { + session::global_set('config',$config); /* Login as user, initialize user ACL's */ if ($htaccess_authenticated){ $ui= ldap_login_user_htaccess($username); @@ -320,7 +321,6 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces if ($ui === NULL || !$ui){ $message= _("Please check the username/password combination."); $smarty->assign ('nextfield', 'password'); - session::global_set('config',$config); new log("security","login","",array(),"Authentication failed for user \"$username\""); } else { /* Remove all locks of this user */ -- 2.30.2