Fix type error in api.php

This commit is contained in:
hacker_marc committed 2026-10-04 18:53:42 +00:00
1 parent c50c1bd122
commit f5f42b73ee
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ class gbAPI {
$expected = $this->generateToken($username);
$given = $_COOKIE["auth_token"];
$result = hash_equals($expected, $give);
$result = hash_equals($expected, $given);
if ($result) {
return true;
}