Use server logout link in scheduler
Create PR containing updated CHANGELOG.md and release packages to NPM once PR is merged / Release (push) Has been cancelled
Run i18n AI automation / Run i18n (push) Has been cancelled
Next.js Bundle Analysis / analyze (push) Has been cancelled

This commit is contained in:
2026-06-15 11:12:11 -06:00
parent 63dc5431d8
commit 635935c3ba
2 changed files with 4 additions and 11 deletions
+2 -2
View File
@@ -44,9 +44,9 @@ export function AppShell({
<strong>{user.name}</strong>
<span>{user.timeZone}</span>
</div>
<Link className="session-button" href="/logout">
<a className="session-button" href="/api/scheduler/logout">
Sign out
</Link>
</a>
</div>
</aside>
<main className="main-surface">{children}</main>
@@ -1,14 +1,7 @@
"use client";
export function AuthentikLogoutButton() {
return (
<button
className="auth-primary"
type="button"
onClick={() => {
window.location.assign("/api/scheduler/logout");
}}>
<a className="auth-primary" href="/api/scheduler/logout">
Sign out
</button>
</a>
);
}