updating login
This commit is contained in:
@@ -272,10 +272,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="serverPreview">
|
||||
<p style="margin-left:10px;font-weight: bold;">Here you can see what's saved on the server:</p>
|
||||
<iframe src="login.php?fn=getStoredDataHtml" id="serverPreview"></iframe>
|
||||
</div>
|
||||
<div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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