fix autoload

This commit is contained in:
Bruno Rybársky 2024-02-04 09:21:00 +01:00
parent c4a9dd9593
commit 69dfb64ce4

@ -42,10 +42,10 @@
} }
function populateUserInfoFields(userData) { function populateUserInfoFields(userData) {
document.getElementById("updateFirstName").value = userData.first_name || ""; document.getElementById("updateFirstName").value = userData.FirstName || "";
document.getElementById("updateLastName").value = userData.last_name || ""; document.getElementById("updateLastName").value = userData.LastName || "";
document.getElementById("updateNickname").value = userData.nickname || ""; document.getElementById("updateNickname").value = userData.Nickname || "";
document.getElementById("updateMinecraftNick").value = userData.minecraft_nick || ""; document.getElementById("updateMinecraftNick").value = userData.MinecraftNick || "";
document.getElementById("updateNewEmail").value = userData.Email || ""; document.getElementById("updateNewEmail").value = userData.Email || "";
} }