Merge branch 'Services'
# Conflicts: # WEBROOT/services/test.php
This commit is contained in:
commit
7410566fe6
1 file changed
+9
-1
@@ -5,4 +5,12 @@ include_once '../controller/DatabaseController.php';
|
||||
include_once '../controller/DatabaseConnect.php';
|
||||
include_once '../moduls/ConsoleLog.php';
|
||||
|
||||
echo "Test Site now Content";
|
||||
$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