From 69dfb64ce49d189cbdde8c27e8a4641c75907471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 09:21:00 +0100 Subject: [PATCH] fix autoload --- templates/userActions.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/userActions.html b/templates/userActions.html index 70b3ee4..7eaa25b 100644 --- a/templates/userActions.html +++ b/templates/userActions.html @@ -42,10 +42,10 @@ } function populateUserInfoFields(userData) { - document.getElementById("updateFirstName").value = userData.first_name || ""; - document.getElementById("updateLastName").value = userData.last_name || ""; - document.getElementById("updateNickname").value = userData.nickname || ""; - document.getElementById("updateMinecraftNick").value = userData.minecraft_nick || ""; + document.getElementById("updateFirstName").value = userData.FirstName || ""; + document.getElementById("updateLastName").value = userData.LastName || ""; + document.getElementById("updateNickname").value = userData.Nickname || ""; + document.getElementById("updateMinecraftNick").value = userData.MinecraftNick || ""; document.getElementById("updateNewEmail").value = userData.Email || ""; }