summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 648b5e4)
raw | patch | inline | side by side (parent: 648b5e4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Jul 2010 11:43:27 +0000 (11:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Jul 2010 11:43:27 +0000 (11:43 +0000) |
-Display the warning and a the login screen again, instead of silently allow a login.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18926 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18926 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/index.php | patch | blob | history |
index ebae5e52f7393fd19fcd7bf03632e85fdbd6fac5..02a4af1b4dd80ba88e880e99c6447c1ef1c9d9c2 100644 (file)
--- a/gosa-core/html/index.php
+++ b/gosa-core/html/index.php
@@ -369,6 +369,8 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
$message= _("Account locked. Please contact your system administrator!");
$smarty->assign ('nextfield', 'password');
new log("security","login","",array(),"Account for user \"$username\" has expired") ;
+ displayLogin();
+ exit();
} elseif ($expired == 3){
$plist= new pluglist($config, $ui);
foreach ($plist->dirlist as $key => $value){