summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38eceeb)
raw | patch | inline | side by side (parent: 38eceeb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jul 2010 14:54:50 +0000 (14:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Jul 2010 14:54:50 +0000 (14:54 +0000) |
-Wrong paramter were used for the password change hook
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19174 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19174 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 e21a07d8ef10d810401365940ffc6fff15c67959..b6bf8becfdab27508f01db6d62f09e14d86af945 100644 (file)
/* 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'];
+ $hook = $this->config->get_cfg_value("passwordHook")." ".$ui->username." ".$current_password." ".$new_password;
if($check_hook){
exec($hook,$resarr);
$check_hook_output = "";