From 0b9fa8d7c31e38ea0dae66500784a3e3b8bb4b16 Mon Sep 17 00:00:00 2001 From: mikiyas-stp Date: Sat, 27 Sep 2025 14:56:29 +0100 Subject: [PATCH 1/2] version of psycopg2 changed --- backend/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/requirements.txt b/backend/requirements.txt index e03836c..5e11b05 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -11,7 +11,7 @@ idna==3.10 itsdangerous==2.2.0 Jinja2==3.1.5 MarkupSafe==3.0.2 -psycopg2==2.9.10 +psycopg2-binary==2.9.10 pycparser==2.22 PyJWT==2.10.1 python-dotenv==1.0.1 From 36d9b924629ded3dfb456c7c0854addb3d67d887 Mon Sep 17 00:00:00 2001 From: mikiyas-stp Date: Thu, 5 Feb 2026 19:54:34 +0000 Subject: [PATCH 2/2] debugged: i have handled login through form submit instead of button click --- front-end/views/profile.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front-end/views/profile.mjs b/front-end/views/profile.mjs index dd2b92a..31139a9 100644 --- a/front-end/views/profile.mjs +++ b/front-end/views/profile.mjs @@ -39,8 +39,8 @@ function profileView(username) { createLogin ); document - .querySelector("[data-action='login']") - ?.addEventListener("click", handleLogin); + .querySelector("[data-form='login']") + ?.addEventListener("submit", handleLogin); const profileData = state.profiles.find((p) => p.username === username); if (profileData) {