mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 13:01:56 -07:00
Update secure_login.php
This commit is contained in:
parent
693dd2877c
commit
ab9c10b05c
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ function prevent_get_csrf () {
|
|||
if ($_SERVER['REQUEST_METHOD'] == "GET") {
|
||||
if (isset($_GET[$login_url])) return;
|
||||
if ($_SERVER['REQUEST_URI']=="" || $_SERVER['REQUEST_URI']=="/" || $_SERVER['REQUEST_URI']=="/login/" || $_SERVER['REQUEST_URI']=="/list/user/" || $_SERVER['REQUEST_URI']=="/list/web/") return;
|
||||
if ($_SERVER['DOCUMENT_URI']=="/reset/index.php") return;
|
||||
}
|
||||
if (isset($_SERVER['HTTP_HOST']) == false) return;
|
||||
if (isset($_SERVER['SERVER_PORT']) == false) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue