From ba735859cb8c882012d6f9da580ee37f0ebbf03d Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 5 Jul 2010 11:43:27 +0000 Subject: [PATCH] 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 --- gosa-core/html/index.php | 2 ++ 1 file changed, 2 insertions(+) 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){ -- 2.30.2