feat: register finish verify route
This commit is contained in:
@ -72,6 +72,7 @@ func (h *AuthHandler) RegisterRoutes(api chi.Router) {
|
|||||||
protected.Get("/profile", h.getProfile)
|
protected.Get("/profile", h.getProfile)
|
||||||
protected.Post("/email", h.requestEmailOtp)
|
protected.Post("/email", h.requestEmailOtp)
|
||||||
protected.Post("/email/otp", h.confirmOtp)
|
protected.Post("/email/otp", h.confirmOtp)
|
||||||
|
protected.Post("/verify", h.finishVerification)
|
||||||
})
|
})
|
||||||
|
|
||||||
r.Post("/login", h.login)
|
r.Post("/login", h.login)
|
||||||
|
Reference in New Issue
Block a user