From: janw Date: Fri, 12 Mar 2010 08:33:39 +0000 (+0000) Subject: Move config object to session. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7389f1c45be733fb305798f96ea4ddf651df090d;p=gosa.git Move config object to session. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16475 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */