update: auth
This commit is contained in:
1 parent
8e722086ac
commit
8585af5cfe
1 file changed
+11
-1
@@ -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");
|
||||
Reference in new issue
Block a user