95-fix-home-screen-account-button-ui #124

Merged
eta357 merged 17 commits from 95-fix-home-screen-account-button-ui into main 2024-11-22 22:32:54 +00:00
Showing only changes of commit e60243e50c - Show all commits

View File

@@ -85,6 +85,7 @@ pub async fn logout() -> Result<(), ServerFnError> {
auth_session.logout().await
.map_err(|e| ServerFnError::<NoCustomError>::ServerError(format!("Error getting auth session: {}", e)))?;
leptos_axum::redirect("/login");
Ok(())
}