Add version information
This commit is contained in:
parent
aed1e27cb7
commit
bc7ff2f552
@ -368,11 +368,15 @@ sslOnlySessions = (fmap . fmap) secureSessionCookies
|
||||
|
||||
-- | Helps defend against CSRF attacks by setting the SameSite attribute on
|
||||
-- session cookies to "Lax".
|
||||
--
|
||||
-- Since 1.4.21
|
||||
laxSameSiteSessions :: IO (Maybe SessionBackend) -> IO (Maybe SessionBackend)
|
||||
laxSameSiteSessions = sameSiteSession sameSiteLax
|
||||
|
||||
-- | Helps defend against CSRF attacks by setting the SameSite attribute on
|
||||
-- session cookies to "Strict".
|
||||
--
|
||||
-- Since 1.4.21
|
||||
strictSameSiteSessions :: IO (Maybe SessionBackend) -> IO (Maybe SessionBackend)
|
||||
strictSameSiteSessions = sameSiteSession sameSiteStrict
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user