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 || ""; }