From fd2d5408d6a216d3122e437d201d1a1ee60499aa Mon Sep 17 00:00:00 2001 From: nlevesque Date: Tue, 28 Jul 2026 23:30:18 +0200 Subject: [PATCH] Fix login error feedback + load basecoat toast module - inline error message on the login form (401 shows a visible French message, hidden again on submit) - import basecoat-css/toast in BaseLayout: every showToast in the app was silently no-oping because the toast JS was never loaded --- src/components/LoginForm.astro | 28 ++++++++++++++-------------- src/layouts/BaseLayout.astro | 1 + src/pages/api/login.ts | 11 +++++++---- 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/src/components/LoginForm.astro b/src/components/LoginForm.astro index f5c9af3..90645c2 100644 --- a/src/components/LoginForm.astro +++ b/src/components/LoginForm.astro @@ -27,6 +27,12 @@ required /> +