mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Add authentication to ajax pages, thx @lts-rad
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<?php
|
||||
|
||||
require '../../includes/csrf.php';
|
||||
require '../../src/RaspAP/Parsers/IwParser.php';
|
||||
require_once '../../includes/config.php';
|
||||
require_once '../../src/RaspAP/Auth/HTTPAuth.php';
|
||||
require_once '../../src/RaspAP/Parsers/IwParser.php';
|
||||
require_once '../../includes/authenticate.php';
|
||||
|
||||
if (isset($_POST['interface'])) {
|
||||
|
||||
@@ -11,4 +14,3 @@ if (isset($_POST['interface'])) {
|
||||
|
||||
echo json_encode($supportedFrequencies);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user