🔒 check auth on admin api routes
This commit is contained in:
parent
17ee951df7
commit
c0891c9654
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue