mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
11 lines
222 B
PHP
11 lines
222 B
PHP
<?php
|
|
|
|
include_once('functions.php');
|
|
include_once('session.php');
|
|
|
|
if (csrfValidateRequest() && !CSRFValidate()) {
|
|
handleInvalidCSRFToken();
|
|
}
|
|
|
|
ensureCSRFSessionToken();
|
|
header('X-CSRF-Token', $_SESSION['csrf_token']);
|