From 22b474b5d1140485aeea8835cc4ebc11f0e99f7f Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Thu, 13 Aug 2020 04:37:54 -0700 Subject: Clarify that the string 'None' should be the value for `samesite` - See https://github.com/Pylons/pyramid/issues/2733#issuecomment-672936565 --- src/pyramid/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyramid/authentication.py b/src/pyramid/authentication.py index 47570d5fc..6b5305cf3 100644 --- a/src/pyramid/authentication.py +++ b/src/pyramid/authentication.py @@ -571,7 +571,7 @@ class AuthTktAuthenticationPolicy(CallbackAuthenticationPolicy): ``samesite`` Default: ``'Lax'``. The 'samesite' option of the session cookie. Set - the value to ``None`` to turn off the samesite option. + the value to the string ``'None'`` to turn off the samesite option. .. versionchanged:: 1.4 -- cgit v1.2.3