updating login

This commit is contained in:
jakani24
2024-04-04 21:24:34 +02:00
parent c01444711f
commit 1f9beb9e7d
2 changed files with 6 additions and 8 deletions

View File

@@ -190,14 +190,16 @@ try {
$return = new stdClass();
$return->success = true;
//we have authenticated the user!
$_SESSION["username"]=$userName;
$_SESSION["login"]=true;
$_SESSION["perms"]="111111111111111111111111";
$_SESSION["email"]="janis.st44@gmail.com";
$_SESSION["telegram_id"]="1234";
header('Content-Type: application/json');
print(json_encode($return));
// ------------------------------------
// proccess clear registrations
// ------------------------------------
}
} catch (Throwable $ex) {
$return = new stdClass();