diff options
| author | Steve Piercy <web@stevepiercy.com> | 2020-08-13 04:37:54 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2020-08-13 04:37:54 -0700 |
| commit | 22b474b5d1140485aeea8835cc4ebc11f0e99f7f (patch) | |
| tree | e0e0133bc08bbc109201abc9943fc41b37f56f68 | |
| parent | 8edfe6dbf85f738abbee159b22710c8bf987fee5 (diff) | |
| download | pyramid-22b474b5d1140485aeea8835cc4ebc11f0e99f7f.tar.gz pyramid-22b474b5d1140485aeea8835cc4ebc11f0e99f7f.tar.bz2 pyramid-22b474b5d1140485aeea8835cc4ebc11f0e99f7f.zip | |
Clarify that the string 'None' should be the value for `samesite`
- See https://github.com/Pylons/pyramid/issues/2733#issuecomment-672936565
| -rw-r--r-- | src/pyramid/authentication.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
