mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
send proper csrf header
This commit is contained in:
@@ -6,6 +6,3 @@ include_once('session.php');
|
||||
if (csrfValidateRequest() && !CSRFValidate()) {
|
||||
handleInvalidCSRFToken();
|
||||
}
|
||||
|
||||
ensureCSRFSessionToken();
|
||||
header('X-CSRF-Token', $_SESSION['csrf_token']);
|
||||
|
Reference in New Issue
Block a user