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:
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…
x
Reference in New Issue
Block a user