Update join.blade.php

This commit is contained in:
Thomas G 2022-10-23 10:57:16 +11:00
parent bc136937e8
commit 88afb4cca1
1 changed files with 3 additions and 3 deletions

View File

@ -8,17 +8,17 @@ $port = addslashes($_GET["port"]);
$id = addslashes($_GET["id"]);
$app = addslashes($_GET["app"]);*/
$authorised = 0
$authorised = 0;
if (Auth::check()) {
$username = addslashes(Auth::user()->name);
$authorised = 1
$authorised = 1;
$id = addslashes(Auth::id());
$app = 'http://morblox.us/Asset/CharacterFetch.ashx?userId=' . addslashes(Auth::id());
} else {
$randName = mt_rand(1, 9999);
$username = "Guest " . $randName;
$authorised = 0
$authorised = 0;
$id = mt_rand(1000, 9999);
$app = 'http://morblox.us/Asset/CharacterFetch.ashx?userId=0';
}