update: auth

This commit is contained in:
Tower committed 2026-01-21 21:21:54 +01:00
1 parent 8e722086ac
commit 8585af5cfe
1 file changed
+11 -1
+11 -1
View File
@@ -3,4 +3,14 @@
include_once '../controller/UserController.php';
include_once '../controller/DatabaseController.php';
include_once '../controller/DatabaseConnect.php';
include_once '../moduls/ConsoleLog.php';
include_once '../moduls/ConsoleLog.php';
$valdiation = ((new UserController())->CheckUser("bruno.eckhardt@gmx.de", "bBHofurUJWKzPE8Z"));
if ($valdiation === true) {
echo "Authorized";
} else {
echo "Unauthorized";
}
// (new UserController())->setUser("Bruno", "Eckhardt", "bruno.eckhardt@gmx.de", "bBHofurUJWKzPE8Z", "Developer", "1");