updating login
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user