From 12605975a99130f1a7f9f4e1975daf4492bf35b3 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 29 May 2006 06:02:23 +0000 Subject: [PATCH] renamed option git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3534 594d385d-05f5-0310-b6e9-bd551577e9d8 --- FAQ | 2 +- html/index.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FAQ b/FAQ index 5d2d91095..6a8a56db9 100644 --- a/FAQ +++ b/FAQ @@ -304,5 +304,5 @@ A: Yes. Set STRICT_UNITS to "true" in your gosa.conf's location section. Q: How can i active the account expiration code for the gosa interface? -A: Yes. Just set "accountexpired" to "true" in your gosa.conf's main section. +A: Yes. Just set "account_expiration" to "true" in your gosa.conf's main section. diff --git a/html/index.php b/html/index.php index e55d51c7d..63fb9db91 100644 --- a/html/index.php +++ b/html/index.php @@ -216,8 +216,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){ $_SESSION['config']= $config; /* are we using accountexpiration */ - if((isset($config->data['MAIN']['ACCOUNTEXPIRED'])) && - preg_match('/true/i', $config->data['MAIN']['ACCOUNTEXPIRED'])){ + if((isset($config->data['MAIN']['ACCOUNT_EXPIRATION'])) && + preg_match('/true/i', $config->data['MAIN']['ACCOUNT_EXPIRATION'])){ $expired= ldap_expired_account($config, $ui->dn, $ui->username); -- 2.30.2