From 338470ac8a10ee2c0dfdbbd1bfe88c3642808150 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 07:42:08 +0000 Subject: [PATCH] removed defaults from get_cfg_value and added some missing properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18331 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/password/class_password.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc index cfc49c939..7b66ddcf3 100644 --- a/gosa-core/plugins/personal/password/class_password.inc +++ b/gosa-core/plugins/personal/password/class_password.inc @@ -56,11 +56,11 @@ class password extends plugin /* Should we check different characters in new password */ $check_differ = $this->config->get_cfg_value("core","passwordMinDiffer") != ""; - $differ = $this->config->get_cfg_value("core","passwordMinDiffer", 0); + $differ = $this->config->get_cfg_value("core","passwordMinDiffer"); /* Enable length check ? */ $check_length = $this->config->get_cfg_value("core","passwordMinLength") != ""; - $length = $this->config->get_cfg_value("core","passwordMinLength", 0); + $length = $this->config->get_cfg_value("core","passwordMinLength"); /* Call external password quality hook ?*/ $check_hook = $this->config->get_cfg_value("core","passwordHook") != ""; -- 2.30.2