Initial commit

This commit is contained in:
Lizandro Guarnizo
2025-02-06 14:22:29 -05:00
commit 6d8f1bcd6f
452 changed files with 250835 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package middlewares
import (
"github.com/gofiber/fiber/v2"
"github.com/sujit-baniya/fiber-boilerplate/pkg/auth"
)
func LimitPhoneNumbersPerRequest(c *fiber.Ctx) error {
if auth.IsLoggedIn(c) {
return c.Redirect("/")
}
return c.Next()
}