We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26a06c commit c6cb9eeCopy full SHA for c6cb9ee
web/api/index.php
@@ -99,7 +99,7 @@ function api_legacy(array $request_data) {
99
$fp = fopen($v_password, "w");
100
fwrite($fp, $password."\n");
101
fclose($fp);
102
- exec(HESTIA_CMD . 'v-check-user-password '. $v_user.' '. $v_password. ' '.$v_ip.' yes', $output, $return_var);
+ exec(HESTIA_CMD . 'v-check-user-password "admin" '. $password. ' '.$v_ip.' yes', $output, $return_var);
103
$hash = $output[0];
104
unset($output);
105
}
0 commit comments