From c5d5afc3ebfdbaefe26215cdf3dee96121b07657 Mon Sep 17 00:00:00 2001 From: xfarrow <49845537+xfarrow@users.noreply.github.com> Date: Mon, 24 Mar 2025 22:06:13 +0100 Subject: [PATCH] Show contact infos in the person's profile --- frontend/vanilla/html/register.html | 4 +- frontend/vanilla/html/userprofile.html | 159 ++++++++++++++++++------- 2 files changed, 117 insertions(+), 46 deletions(-) diff --git a/frontend/vanilla/html/register.html b/frontend/vanilla/html/register.html index dec1111..a87e7ca 100644 --- a/frontend/vanilla/html/register.html +++ b/frontend/vanilla/html/register.html @@ -129,7 +129,7 @@ * Performs an API POST Request to register the user. */ async function register() { - const display_name = document.getElementById('displayname').value; + const displayName = document.getElementById('displayname').value; const email = document.getElementById('email').value; const password = document.getElementById('password').value; @@ -141,7 +141,7 @@ method: 'POST', headers: createHeaders(null), body: JSON.stringify({ - display_name, + displayName, email, password }), diff --git a/frontend/vanilla/html/userprofile.html b/frontend/vanilla/html/userprofile.html index 0ccc167..1ce063f 100644 --- a/frontend/vanilla/html/userprofile.html +++ b/frontend/vanilla/html/userprofile.html @@ -10,27 +10,26 @@ integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> - + - - -