X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/a046e3b04175367c1afadd306513414fa61ba3fd..28ccf13d58e5b5d3e295215f7d28901cb65c127e:/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);