feat: auth functionality

This commit is contained in:
Maulana Sodiqin
2025-03-19 23:17:50 +07:00
parent 11d6249007
commit eb6cfd51ae
11 changed files with 384 additions and 35 deletions
+3
View File
@@ -14,4 +14,7 @@ pub fn auth_router() -> Router {
Router::new()
.route("/login", post(auth_controller::post_login))
.route("/register", post(auth_controller::post_register))
.route("/verify", post(auth_controller::post_verify_email))
.route("/resend", post(auth_controller::post_resend_otp))
.route("/forgot", post(auth_controller::post_forgot_password))
}