package middleware import ( "dove/config" "github.com/gofiber/fiber/v2" ) func globals(context *fiber.Ctx) error { context.Locals("AuthEnabled", config.AuthEnabled) return context.Next() }