From 2d316eb8a369fe683de9dddf7e04544f28029adc Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Jan 2011 13:53:51 +0000 Subject: [PATCH] Fixed typo in password chanage -If a password proposal is selected, we've to use it instead of POST['new_password'] git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20586 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/users/class_userManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 97182f560..9b1c574c2 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -342,7 +342,7 @@ class userManagement extends management $ldap->cat($this->dn,array('uid')); $attrs = $ldap->fetch(); exec($this->config->get_cfg_value("passwordHook")." ". - escapeshellarg($attrs['uid'][0])." ".escapeshellarg($_POST['new_password']), $resarr); + escapeshellarg($attrs['uid'][0])." ".escapeshellarg($new_password), $resarr); } // The user has to change his password on next login -- 2.30.2