cds-web/controllers/utils.go

8 lines
132 B
Go
Raw Permalink Normal View History

2022-10-21 03:12:22 +02:00
package controllers
import "github.com/gofiber/fiber/v2"
func checkCookie(c *fiber.Ctx) string {
return c.Cookies("token", "")
}