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