summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5505529)
raw | patch | inline | side by side (parent: 5505529)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Sep 2010 13:36:11 +0000 (13:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Sep 2010 13:36:11 +0000 (13:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19588 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/password.php | patch | blob | history |
index fc5fe83afac6f99c43f98002f0e2cc39f980a693..0b93bf955c7b0ee690a05157dc36d29cca23c8d6 100644 (file)
// Call external check hook to validate the password change
if(!count($message)){
$attrs = array();
- $attrs['current_password'] = escapeshellarg($current_password);
- $attrs['new_password'] = escapeshellarg($new_password);
+ $attrs['current_password'] = ($current_password);
+ $attrs['new_password'] = ($new_password);
$checkRes = password::callCheckHook($config,$ui->dn,$attrs);
if(count($checkRes)){
$message[] = sprintf(_("Check-hook reported a problem: %s. Password change canceled!"),implode($checkRes));