From ef05d667875378a581b5d0f01e34f2cf7a6c1655 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Wed, 11 Jun 2025 20:52:30 +0200 Subject: [PATCH] feat: register signout route --- internal/auth/routes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/auth/routes.go b/internal/auth/routes.go index 054b8ae..ec0bbd9 100644 --- a/internal/auth/routes.go +++ b/internal/auth/routes.go @@ -96,6 +96,7 @@ func (h *AuthHandler) RegisterRoutes(api chi.Router) { protected.Post("/email", h.requestEmailOtp) protected.Post("/email/otp", h.confirmOtp) protected.Post("/verify", h.finishVerification) + protected.Post("/signout", h.signOut) }) r.Post("/login", h.login)