From 7fe74c343ac176c6baf0aecd7b559f879b6f2e77 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Tue, 12 Jul 2022 20:30:49 +1000 Subject: [PATCH] Update join.blade.php --- resources/views/client/join.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/client/join.blade.php b/resources/views/client/join.blade.php index 66f302e..8911b03 100644 --- a/resources/views/client/join.blade.php +++ b/resources/views/client/join.blade.php @@ -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"]);