From: hickert Date: Fri, 14 Jan 2011 13:53:51 +0000 (+0000) Subject: Fixed typo in password chanage X-Git-Url: https://git.tokkee.org/?p=gosa.git;a=commitdiff_plain;h=2d316eb8a369fe683de9dddf7e04544f28029adc 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 --- 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