Update join.blade.php

This commit is contained in:
Thomas G 2022-09-14 20:10:04 +10:00
parent 56d4567fe9
commit 5212f90861
1 changed files with 1 additions and 2 deletions

View File

@ -11,12 +11,10 @@ $app = addslashes($_GET["app"]);*/
if (Auth::check()) { if (Auth::check()) {
$username = addslashes(Auth::user()->name); $username = addslashes(Auth::user()->name);
$id = addslashes(Auth::id()); $id = addslashes(Auth::id());
$app = addslashes(Auth::id());
} else { } else {
$randName = mt_rand(1, 9999); $randName = mt_rand(1, 9999);
$username = "Guest " . $randName; $username = "Guest " . $randName;
$id = 0; $id = 0;
$app = 0
} }
$ip = addslashes($_GET["ip"]); $ip = addslashes($_GET["ip"]);
$port = addslashes($_GET["port"]); $port = addslashes($_GET["port"]);
@ -235,6 +233,7 @@ local success, err = pcall(function()
-- Overriden -- Overriden
onPlayerAdded(player) onPlayerAdded(player)
player.CharacterAppearance = "<?php echo $app; ?>" player.CharacterAppearance = "<?php echo $app; ?>"
if not test then visit:SetUploadUrl("")end if not test then visit:SetUploadUrl("")end
player.Name = "<?php echo $username; ?>" player.Name = "<?php echo $username; ?>"