Basic email verification done
Still need to add forms to confirmation page to allow resending and add rate limiting.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user