Update join.blade.php

This commit is contained in:
Thomas G 2022-09-14 20:15:21 +10:00
parent 54409953b6
commit cf057e156b
1 changed files with 3 additions and 1 deletions

View File

@ -11,14 +11,16 @@ $app = addslashes($_GET["app"]);*/
if (Auth::check()) {
$username = addslashes(Auth::user()->name);
$id = addslashes(Auth::id());
$app = '' . addslashes(Auth::id());
} else {
$randName = mt_rand(1, 9999);
$username = "Guest " . $randName;
$id = 0;
$app = '0'
}
$ip = addslashes($_GET["ip"]);
$port = addslashes($_GET["port"]);
$app = 'test';
$app = '0';
ob_start();
@endphp