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
{ window.location.href = '/api/auth/whoami' }}
+ onClick={() => { window.location.href = '/login' }}
className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium"
style={{ background: 'var(--accent)', color: 'var(--text-inverse)' }}
>
diff --git a/src/components/Panel.jsx b/src/components/Panel.jsx
index 969b3fa..63598b7 100644
--- a/src/components/Panel.jsx
+++ b/src/components/Panel.jsx
@@ -61,7 +61,7 @@ export default function Panel({ onManeuverClick }) {
}
// Auth handlers
- const handleLogin = () => { window.location.href = '/api/auth/whoami' }
+ const handleLogin = () => { window.location.href = '/login' }
const handleLogout = () => { window.location.href = '/outpost.goauthentik.io/sign_out' }
// Optimize stops
diff --git a/src/components/PlaceCard.jsx b/src/components/PlaceCard.jsx
index 2e7a494..0b09bbc 100644
--- a/src/components/PlaceCard.jsx
+++ b/src/components/PlaceCard.jsx
@@ -432,7 +432,7 @@ export function PlaceCard({ place, variant = "preview", expanded = true, onToggl
{auth.authenticated ? (
) : (
- { window.location.href = "/api/auth/whoami" }} className="flex items-center gap-1 px-2 py-1.5 rounded-lg text-xs" style={{ background: "var(--accent-muted)", color: "var(--accent)", border: "1px solid var(--border)" }} title="Log in to save places">Save
+ { window.location.href = "/login" }} className="flex items-center gap-1 px-2 py-1.5 rounded-lg text-xs" style={{ background: "var(--accent-muted)", color: "var(--accent)", border: "1px solid var(--border)" }} title="Log in to save places">Save
)}
setCopyOpen((v) => !v)} className="p-2 rounded-lg flex items-center gap-0.5" style={{ background: "var(--tan-muted)", color: "var(--tan)", border: "1px solid var(--border)" }} aria-label="Copy">
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() {
) : (
{ window.location.href = '/api/auth/whoami' }}
+ onClick={() => { window.location.href = '/login' }}
className="flex items-center gap-1 px-2 py-1.5 rounded-lg text-xs"
style={{ background: 'var(--accent-muted)', color: 'var(--accent)', border: '1px solid var(--border)' }}
title="Log in to save places"