feat: register signout route
This commit is contained in:
@ -96,6 +96,7 @@ func (h *AuthHandler) RegisterRoutes(api chi.Router) {
|
|||||||
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)
|
protected.Post("/verify", h.finishVerification)
|
||||||
|
protected.Post("/signout", h.signOut)
|
||||||
})
|
})
|
||||||
|
|
||||||
r.Post("/login", h.login)
|
r.Post("/login", h.login)
|
||||||
|
Reference in New Issue
Block a user