From ff8e6653748751c8e0b7db045033db77199d8f7f Mon Sep 17 00:00:00 2001 From: jableader Date: Sat, 1 Nov 2025 14:02:03 +1100 Subject: [PATCH] Refactored to show email/password form when multitenant flag is enabled; legacy person list retained otherwise. Link to Create Account added. --- frontend-spec.md | 2 +- src/components/LoginPage.vue | 96 +++++++++++++++++++++++++++--------- 2 files changed, 74 insertions(+), 24 deletions(-) diff --git a/frontend-spec.md b/frontend-spec.md index 0bfb580..3cf4c07 100644 --- a/frontend-spec.md +++ b/frontend-spec.md @@ -199,7 +199,7 @@ SDK - No path changes; ensure all calls work with new auth and household header. UI -- Replace persons-based `LoginPage.vue` with email/password + Google; link to signup. +- Login Page: Refactored to show email/password form when multitenant flag is enabled; legacy person list retained otherwise. Link to Create Account added. - Add `HouseholdSwitcher.vue` to app chrome and wire with router. - Update components that navigate using string paths to use named routes with slug. diff --git a/src/components/LoginPage.vue b/src/components/LoginPage.vue index 200b434..8272a13 100644 --- a/src/components/LoginPage.vue +++ b/src/components/LoginPage.vue @@ -1,46 +1,92 @@