🩹 csrf expires should be time.Duration

Co-Authored-By: kiyon <kiyon@gofiber.io>
pull/797/head
Fenny 2020-09-16 12:48:29 +02:00
parent c8bb389ba6
commit c993d8db2e
1 changed files with 1 additions and 1 deletions

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