diff options
| author | Wichert Akkerman <wichert@wiggy.net> | 2013-08-12 20:50:55 +0200 |
|---|---|---|
| committer | Wichert Akkerman <wichert@wiggy.net> | 2013-08-12 20:50:55 +0200 |
| commit | a1f768cc766516e81f295c7ad507305e526a740e (patch) | |
| tree | 4292eeb98f50a563f196a3f505632aa75e9659ea /CHANGES.txt | |
| parent | c65b8506954a094f08a3191c76066a459c084a93 (diff) | |
| download | pyramid-a1f768cc766516e81f295c7ad507305e526a740e.tar.gz pyramid-a1f768cc766516e81f295c7ad507305e526a740e.tar.bz2 pyramid-a1f768cc766516e81f295c7ad507305e526a740e.zip | |
Allow explicit cookie domain setting.
This is useful as an escape hatch when dealing with enviroments where
no normal rules apply.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index e9533ab48..2e1a2efd4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -49,9 +49,13 @@ Features ``pyramid.config.Configurator.add_static_view``. This allows externally-hosted static URLs to be generated based on the current protocol. -- The ``AuthTktAuthenticationPolicy`` has a new ``parent_domain`` option to - set the authentication cookie as a wildcard cookie on the parent domain. This - is useful if you have multiple sites sharing the same domain. +- The ``AuthTktAuthenticationPolicy`` has two new options to configure its + domain usage: + * ``parent_domain``: if set the authentication cookie is set on + the parent domain. This is useful if you have multiple sites sharing the + same domain. + * ``domain``: if provided the cookie is always set for this domain, bypassing + all usual logic. - The ``AuthTktAuthenticationPolicy`` now supports IPv6 addresses when using the ``include_ip=True`` option. This is possibly incompatible with |
