Remove display names
This commit is contained in:
1 parent
c754df44c3
commit
b7271bf6d2
11 files changed
+17
-131
No files matched your search
@@ -16,7 +16,7 @@ if (!checkUserSession($conn)) {
|
||||
|
||||
$session = htmlspecialchars($_COOKIE['session']);
|
||||
|
||||
$stmt = $conn->prepare("SELECT uid, display_name, email, api_key, role, discord_id FROM users WHERE session = ?");
|
||||
$stmt = $conn->prepare("SELECT uid, username, email, api_key, role, discord_id FROM users WHERE session = ?");
|
||||
$stmt->bind_param("s", $session);
|
||||
$stmt->execute();
|
||||
$stmt->bind_result($uid, $username, $email, $api_key, $role, $discord_id);
|
||||
|
||||
Reference in new issue
Block a user