From: hickert Date: Mon, 5 Jul 2010 11:43:27 +0000 (+0000) Subject: Updated handling of expired accounts X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba735859cb8c882012d6f9da580ee37f0ebbf03d;p=gosa.git Updated handling of expired accounts -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 --- diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index ebae5e52f..02a4af1b4 100644 --- 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){