summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d02cf2c)
raw | patch | inline | side by side (parent: d02cf2c)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Mar 2010 08:33:39 +0000 (08:33 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Mar 2010 08:33:39 +0000 (08:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16475 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/index.php | patch | blob | history |
index ebae5e52f7393fd19fcd7bf03632e85fdbd6fac5..7e27691e017134108311028d270a48952592d793 100644 (file)
--- 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 */