summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 576fb9d)
raw | patch | inline | side by side (parent: 576fb9d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:04:49 +0000 (10:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:04:49 +0000 (10:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18133 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/password/class_password.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc
index d8e09c7a1fb010d682a705b8a02024ed7fa16579..cfc49c939a5ee82ffdc80d478e0ff7a21d1cc6d7 100644 (file)
$smarty->assign("NotAllowed" , !preg_match("/w/i",$password_ACLS));
/* Display expiration template */
- if ($this->config->get_cfg_value("handleExpiredAccounts") == "true"){
+ if ($this->config->get_cfg_value("core","handleExpiredAccounts") == "true"){
$expired= ldap_expired_account($this->config, $ui->dn, $ui->username);
if($expired == 4){
return($smarty->fetch(get_template_path("nochange.tpl", TRUE)));
if (isset($_POST['password_finish'])){
/* Should we check different characters in new password */
- $check_differ = $this->config->get_cfg_value("passwordMinDiffer") != "";
- $differ = $this->config->get_cfg_value("passwordMinDiffer", 0);
+ $check_differ = $this->config->get_cfg_value("core","passwordMinDiffer") != "";
+ $differ = $this->config->get_cfg_value("core","passwordMinDiffer", 0);
/* Enable length check ? */
- $check_length = $this->config->get_cfg_value("passwordMinLength") != "";
- $length = $this->config->get_cfg_value("passwordMinLength", 0);
+ $check_length = $this->config->get_cfg_value("core","passwordMinLength") != "";
+ $length = $this->config->get_cfg_value("core","passwordMinLength", 0);
/* Call external password quality hook ?*/
- $check_hook = $this->config->get_cfg_value("passwordHook") != "";
- $hook = $this->config->get_cfg_value("passwordHook")." ".$ui->username." ".$_POST['current_password']." ".$_POST['new_password'];
+ $check_hook = $this->config->get_cfg_value("core","passwordHook") != "";
+ $hook = $this->config->get_cfg_value("core","passwordHook")." ".$ui->username." ".$_POST['current_password']." ".$_POST['new_password'];
if($check_hook){
exec($hook,$resarr);
$check_hook_output = "";
$ui->dn,
$_POST['current_password'],
$this->config->current['SERVER'],
- $this->config->get_cfg_value("ldapFollowReferrals") == "true",
- $this->config->get_cfg_value("ldapTLS") == "true");
+ $this->config->get_cfg_value("core","ldapFollowReferrals") == "true",
+ $this->config->get_cfg_value("core","ldapTLS") == "true");
/* connection Successfull ? */
if (!$tldap->success()){