Skip to content

Commit c6cb9ee

Browse files
committed
Rename a few variables
1 parent b26a06c commit c6cb9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/api/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function api_legacy(array $request_data) {
9999
$fp = fopen($v_password, "w");
100100
fwrite($fp, $password."\n");
101101
fclose($fp);
102-
exec(HESTIA_CMD . 'v-check-user-password '. $v_user.' '. $v_password. ' '.$v_ip.' yes', $output, $return_var);
102+
exec(HESTIA_CMD . 'v-check-user-password "admin" '. $password. ' '.$v_ip.' yes', $output, $return_var);
103103
$hash = $output[0];
104104
unset($output);
105105
}

0 commit comments

Comments
 (0)