From 5a613d31f53092d90c3cf8a99a04e9e18767b06c Mon Sep 17 00:00:00 2001 From: areeqakbr Date: Thu, 20 Feb 2025 12:00:55 +0700 Subject: [PATCH] delete ratelogin limitter --- delivery/controller/users_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delivery/controller/users_controller.go b/delivery/controller/users_controller.go index 0e4031d..c1401db 100644 --- a/delivery/controller/users_controller.go +++ b/delivery/controller/users_controller.go @@ -18,7 +18,7 @@ type UsersController struct { func (uc *UsersController) Route() { rg:= uc.rg.Group("/users") - rg.Use(middleware.RateLoginMiddleware()) + // rg.Use(middleware.RateLoginMiddleware()) rg.Use(middleware.CORSMiddleware()) rg.OPTIONS("/login", func(c *gin.Context) { c.Status(http.StatusNoContent)