Fix type error in api.php
This commit is contained in:
1 parent
c50c1bd122
commit
f5f42b73ee
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user