From 77340a9fbcc07cad29fa38bbd799ccec616deb6d Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 27 Apr 2026 03:01:23 +0000 Subject: [PATCH] fix: use /login endpoint for auth initiation instead of /api/auth/whoami The /api/auth/whoami endpoint returns JSON after auth, leaving users on a raw JSON page. The new /login endpoint triggers forward_auth and redirects to / after successful auth. --- src/components/ContactList.jsx | 2 +- src/components/Panel.jsx | 2 +- src/components/PlaceCard.jsx | 2 +- src/components/PlaceDetail.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ContactList.jsx b/src/components/ContactList.jsx index 80d7720..53e934c 100644 --- a/src/components/ContactList.jsx +++ b/src/components/ContactList.jsx @@ -36,7 +36,7 @@ export default function ContactList() { Sign in to save and sync your contacts

) : ( - + )}
diff --git a/src/components/PlaceDetail.jsx b/src/components/PlaceDetail.jsx index 85a497c..77f2cff 100644 --- a/src/components/PlaceDetail.jsx +++ b/src/components/PlaceDetail.jsx @@ -758,7 +758,7 @@ export default function PlaceDetail() { ) : (