From 572eae10f5d2201bacd2d902274711db49410d6a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 27 Jul 2010 14:54:50 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/personal/password/class_password.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""; -- 2.30.2