feat signout and reactivity

This commit is contained in:
Per Stark
2024-12-26 23:05:14 +01:00
parent fdfe4a05b8
commit 61e81ca894
7 changed files with 35 additions and 16 deletions

View File

@@ -26,6 +26,7 @@ use zettle_db::{
html::{
index::index_handler,
search_result::search_result_handler,
signout::sign_out_user,
signup::{process_signup_and_show_verification, show_signup_form},
},
},
@@ -147,6 +148,7 @@ fn html_routes(
Router::new()
.route("/", get(index_handler))
.route("/search", get(search_result_handler))
.route("/signout", get(sign_out_user))
.route(
"/signup",
get(show_signup_form).post(process_signup_and_show_verification),