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()) {
$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"]);
@ -235,6 +233,7 @@ local success, err = pcall(function()
-- Overriden
onPlayerAdded(player)
player.CharacterAppearance = "<?php echo $app; ?>"
if not test then visit:SetUploadUrl("")end
player.Name = "<?php echo $username; ?>"