mirror of https://github.com/gofiber/fiber.git
🩹 csrf expires should be time.Duration
Co-Authored-By: kiyon <kiyon@gofiber.io>pull/797/head
parent
c8bb389ba6
commit
c993d8db2e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue