summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4972b27)
raw | patch | inline | side by side (parent: 4972b27)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Jul 2010 05:49:46 +0000 (05:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Jul 2010 05:49:46 +0000 (05:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18924 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index 8ce7bf3b2c1a9aa44ab3a33f0b28ab72455d14a6..663d598a4d9cb4c3f0151ae9915ee3f5dcad5fe7 100644 (file)
return($smarty->fetch(get_template_path('password.tpl', TRUE)));
}
}
- if ($this->config->get_cfg_value("core","passwordHook") != ""){
+ if ($this->config->get_cfg_value("passwordHook") != ""){
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
$ldap->cat($this->dn,array('uid'));
$attrs = $ldap->fetch();
- exec($this->config->get_cfg_value("core","passwordHook")." ".$attrs['uid'][0]." ".$new_password, $resarr);
+ exec($this->config->get_cfg_value("passwordHook")." ".$attrs['uid'][0]." ".$_POST['new_password'], $resarr);
}
// The user has to change his password on next login