Code

Updated rpcHandle request.
[gosa.git] / gosa-core / html / password.php
index fc5fe83afac6f99c43f98002f0e2cc39f980a693..0b93bf955c7b0ee690a05157dc36d29cca23c8d6 100644 (file)
@@ -273,8 +273,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['apply'])) {
     // 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));