added apikey authn

This commit is contained in:
jakani24
2024-02-11 20:39:30 +01:00
parent 6343af7d97
commit b32c8063b6
4 changed files with 42 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
<?php
//we need to auth the user => apikey
//put auth code here afterwards
include "../accessctrl/check_apikey.php";
if(check_apikey()!==true){
die("no_atuh");
}
//add the entry to the log db
//this page has no gui, it may return ok or error