X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/79464ec6276e8eb0e0b0ad597db02b85080d2b63..8c8f88ec2104ab0a12ceec4f5a8e2ebeb72758cc:/f.php diff --git a/f.php b/f.php index f523f72..a93ec98 100644 --- a/f.php +++ b/f.php @@ -171,7 +171,7 @@ if (!empty($link['key'])) { require(JIRAFEAU_ROOT.'lib/template/footer.php'); exit; } else { - if ($link['key'] == md5($_POST['key'])) { + if (hash_equals($link['key'], md5($_POST['key']))) { $password_challenged = true; } else { sleep(2);