X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Findex.php;h=5c9207166009385b446d1fd04f92aed948fdc8af;hb=b82c2df0022dbb07126f30febb4b566fedad937e;hp=d66a96cc2fa9d63056ef7120c5aad39e324c7eb6;hpb=a71680b71938656c7e96c7a9e29af3fac3ec50ab;p=gosa.git diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index d66a96cc2..5c9207166 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -367,6 +367,9 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces /* Not account expired or password forced change go to main page */ new log("security","login","",array(),"User \"$username\" logged in successfully") ; $plist= new pluglist($config, $ui); + + stats::log('global', 'global', array(), $action = 'login', $amount = 1, 0); + if(isset($plug) && isset($plist->dirlist[$plug])) { header ("Location: main.php?plug=".$plug."&global_check=1"); }else{