1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 15:03:46 +00:00

🩹 csrf expires should be time.Duration

Co-Authored-By: kiyon <kiyon@gofiber.io>
This commit is contained in:
Fenny 2020-09-16 12:48:29 +02:00
parent c8bb389ba6
commit c993d8db2e

View File

@ -33,7 +33,7 @@ type Config struct {
// Optional.
Cookie *fiber.Cookie
// CookieExpires
// CookieExpires is the duration before the cookie will expire
//
// Optional. Default: 24 * time.Hour
CookieExpires time.Duration