(c fiber.Ctx, cfg *Config)
| 303 | } |
| 304 | |
| 305 | func expireCSRFCookie(c fiber.Ctx, cfg *Config) { |
| 306 | setCSRFCookie(c, cfg, "", -time.Hour) |
| 307 | } |
| 308 | |
| 309 | func setCSRFCookie(c fiber.Ctx, cfg *Config, token string, expiry time.Duration) { |
| 310 | cookie := &fiber.Cookie{ |
no test coverage detected