Security fix for API hash check

This commit is contained in:
Serghey Rodin 2018-06-24 10:38:16 +03:00
commit ca3a9e0895

View file

@ -58,6 +58,8 @@ if (isset($_POST['user']) || isset($_POST['hash'])) {
echo 'Error: authentication failed';
exit;
}
} else {
$return_var = 1;
}
}