🔒 check auth on admin api routes

This commit is contained in:
DrMaxNix 2024-02-20 18:25:34 +01:00
parent 17ee951df7
commit c0891c9654
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,10 @@
namespace Kimendisch\Sbgg_Jetzt;
use Flake\Csrf;
// HANDLE AUTHENTICATION //
require("./page/admin/auth_handler.php");
// DECODE REQUEST //
// get json string
$json_body = file_get_contents("php://input");

View File

@ -3,6 +3,10 @@
namespace Kimendisch\Sbgg_Jetzt;
use Flake\Csrf;
// HANDLE AUTHENTICATION //
require("./page/admin/auth_handler.php");
// DECODE REQUEST //
// get json string
$json_body = file_get_contents("php://input");