From 48e6145d4b4bc128804cf4aedf6e6dd454ffc4d3 Mon Sep 17 00:00:00 2001 From: IM23a-spirgif Date: Tue, 6 May 2025 14:10:56 +0200 Subject: [PATCH] Fixed a bug with the register message --- public/frontend_login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/frontend_login.js b/public/frontend_login.js index d245029..e5c1451 100644 --- a/public/frontend_login.js +++ b/public/frontend_login.js @@ -29,7 +29,7 @@ if (registerRes.ok) { const registerData = await registerRes.json(); - alert(`Account created! Welcome, ${registerData.username}`); + alert(`Account created! Welcome!`); document.cookie = `authorization=${registerData.token}` window.location.href = "/"; } else {