Update join.blade.php

This commit is contained in:
Thomas G 2022-07-12 20:30:49 +10:00
parent b2c03e4149
commit 7fe74c343a
1 changed files with 1 additions and 2 deletions

View File

@ -9,13 +9,12 @@ $id = addslashes($_GET["id"]);
$app = addslashes($_GET["app"]);*/
if (Auth::check()) {
$randName = 0;
$username = addslashes(Auth::user()->name);
$id = addslashes(Auth::id());
} else {
$randName = mt_rand(1, 9999);
$username = "Guest " . $randName;
$id = 0;
$id = mt_rand(9999, 999999);
}
$ip = addslashes($_GET["ip"]);
$port = addslashes($_GET["port"]);