1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/includes/csrf.php
2023-10-05 09:37:44 +02:00

11 lines
200 B
PHP
Executable File

<?php
if ( class_exists('\RaspAP\Tokens\CSRFTokenizer')) {
$csrfToken = new \RaspAP\Tokens\CSRFTokenizer;
$csrfToken->ensureCSRFSessionToken();
} else {
die('class failed to load!');
}