fix: web redirect after signup

This commit is contained in:
Zack Fu Zi Xiang 2024-05-04 15:44:17 +08:00
parent 8dc70a5f3d
commit 0284e5b694
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ async fn logout_handler(
state.session_store.del_user_session(session_id).await?;
Ok((
jar.remove(Cookie::from("session_id")),
htmx_redirect("/web/login"),
htmx_redirect("/web"),
))
}