Update index.php: Prevent recreation of token by shitty browser add-ons

This commit is contained in:
myvesta 2025-01-03 18:09:06 +01:00 committed by GitHub
parent c5e5464373
commit 7937088e9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,7 @@
<?php
if ($_SERVER['REQUEST_METHOD']=='HEAD') exit; // Prevent recreation of token by shitty browser add-ons
define('NO_AUTH_REQUIRED',true);