mirror of
https://github.com/perstarkse/minne.git
synced 2026-11-27 16:42:32 +01:00
feat signout and reactivity
This commit is contained in:
1 parent
fdfe4a05b8
commit
61e81ca894
7 files changed
+35
-16
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user