From: hickert Date: Tue, 27 Jul 2010 14:54:50 +0000 (+0000) Subject: Updated password change dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=572eae10f5d2201bacd2d902274711db49410d6a;p=gosa.git Updated password change dialog -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 --- diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc index e21a07d8e..b6bf8becf 100644 --- a/gosa-core/plugins/personal/password/class_password.inc +++ b/gosa-core/plugins/personal/password/class_password.inc @@ -111,7 +111,7 @@ class password extends plugin /* 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 = "";