diff --git a/internal/auth/routes.go b/internal/auth/routes.go index 3bb31b6..7ac89e9 100644 --- a/internal/auth/routes.go +++ b/internal/auth/routes.go @@ -72,6 +72,7 @@ func (h *AuthHandler) RegisterRoutes(api chi.Router) { protected.Get("/profile", h.getProfile) protected.Post("/email", h.requestEmailOtp) protected.Post("/email/otp", h.confirmOtp) + protected.Post("/verify", h.finishVerification) }) r.Post("/login", h.login)