mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Security fix for API hash check
This commit is contained in:
parent
b6e26ac479
commit
ca3a9e0895
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ if (isset($_POST['user']) || isset($_POST['hash'])) {
|
|||
echo 'Error: authentication failed';
|
||||
exit;
|
||||
}
|
||||
} else {
|
||||
$return_var = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue