From 007bccccbc19fe4469ad7ac4aba63effeb520128 Mon Sep 17 00:00:00 2001 From: Bluzume <39113159+KuromeSan@users.noreply.github.com> Date: Fri, 5 Nov 2021 19:59:10 -0400 Subject: [PATCH] Fix capitalization of usernames --- game-site/account.php | 2 +- master-site/account.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game-site/account.php b/game-site/account.php index cda9a76..7ef1d95 100644 --- a/game-site/account.php +++ b/game-site/account.php @@ -15,7 +15,7 @@ if(isset($_POST["USER"], $_POST["PASS"])) { $_SESSION['LOGGED_IN'] = "YES"; $_SESSION['PLAYER_ID'] = $id; - $_SESSION['USERNAME'] = $username; + $_SESSION['USERNAME'] = get_username($id); $_SESSION['SEX'] = get_sex($id); $_SESSION['ADMIN'] = get_admin($id); $_SESSION['MOD'] = get_mod($id); diff --git a/master-site/account.php b/master-site/account.php index 503ef7a..81110e2 100644 --- a/master-site/account.php +++ b/master-site/account.php @@ -16,7 +16,7 @@ if(isset($_POST["USER"], $_POST["PASS"])) { $_SESSION['LOGGED_IN'] = "YES"; $_SESSION['PLAYER_ID'] = $id; - $_SESSION['USERNAME'] = $username; + $_SESSION['USERNAME'] = get_username($id); $_SESSION['SEX'] = get_sex($id); $_SESSION['ADMIN'] = get_admin($id); $_SESSION['MOD'] = get_mod($id);