Basic email verification done

Still need to add forms to confirmation page to allow resending and add
rate limiting.
This commit is contained in:
2023-09-28 23:53:46 -04:00
parent f938a6b46b
commit cdc8eb9b02
13 changed files with 277 additions and 27 deletions

View File

@@ -127,6 +127,7 @@ async fn main() -> Result<()> {
.route("/logout", get(handlers::logout::get))
.route("/register", get(handlers::register::get))
.route("/register", post(handlers::register::post))
.route("/confirm-email", get(handlers::confirm_email::get))
.nest_service("/static", ServeDir::new("static"))
.with_state(AppState {
pool,