1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-21 19:53:19 +00:00

fix middleware/session README.md

This commit is contained in:
wernerr 2021-12-06 13:35:47 +01:00
parent ad98f5e807
commit a5b2b8989b

View File

@ -124,23 +124,23 @@ type Config struct {
// Optional. Default value "cookie:session_id".
KeyLookup string
// Domain of the CSRF cookie.
// Domain of the cookie.
// Optional. Default value "".
CookieDomain string
// Path of the CSRF cookie.
// Path of the cookie.
// Optional. Default value "".
CookiePath string
// Indicates if CSRF cookie is secure.
// Indicates if cookie is secure.
// Optional. Default value false.
CookieSecure bool
// Indicates if CSRF cookie is HTTP only.
// Indicates if cookie is HTTP only.
// Optional. Default value false.
CookieHTTPOnly bool
// Sets the CSRF cookie SameSite attribute.
// Sets the cookie SameSite attribute.
// Optional. Default value "Lax".
CookieSameSite string