mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Update index.php: Prevent recreation of token by shitty browser add-ons
This commit is contained in:
parent
c5e5464373
commit
7937088e9c
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
if ($_SERVER['REQUEST_METHOD']=='HEAD') exit; // Prevent recreation of token by shitty browser add-ons
|
||||||
|
|
||||||
define('NO_AUTH_REQUIRED',true);
|
define('NO_AUTH_REQUIRED',true);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue