From 56fd1d46b6ef5995ab697d0e49b26bc51aaff761 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Fri, 20 Feb 2026 15:51:24 +0100 Subject: [PATCH] fix(sidebar): correct logout link path from /auth/logout to /logout Co-Authored-By: Claude Opus 4.6 --- src/components/sidebar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/sidebar.rs b/src/components/sidebar.rs index b543ebd..54a4bb1 100644 --- a/src/components/sidebar.rs +++ b/src/components/sidebar.rs @@ -96,7 +96,7 @@ pub fn Sidebar(name: String, email: String, avatar_url: String) -> Element { div { class: "sidebar-bottom-actions", Link { - to: NavigationTarget::::External("/auth/logout".into()), + to: NavigationTarget::::External("/logout".into()), class: "sidebar-link logout-btn", Icon { icon: BsBoxArrowRight, width: 18, height: 18 } span { "Logout" }