Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

enhance the docstring on include_ip in auth tkt to explain compatability

  • Loading branch information...
commit 50e1a3b596b3c33c2254163e52eacfb1a519450c 1 parent 813eb45
@mmerickel mmerickel authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 pyramid/authentication.py
View
8 pyramid/authentication.py
@@ -450,9 +450,11 @@ class AuthTktAuthenticationPolicy(CallbackAuthenticationPolicy):
Default: ``False``. Make the requesting IP address part of
the authentication data in the cookie. Optional.
- For IPv6 this option is not recommended. It ties the authentication
- ticket to that individual's IPv6 address. Depending on the network they
- are on, the IPv6 address that a user is using may expire quickly.
+ For IPv6 this option is not recommended. The ``mod_auth_tkt``
+ specification does not specify how to handle IPv6 addresses, so using
+ this option in combination with IPv6 addresses may cause an
+ incompatible cookie. It ties the authentication ticket to that
+ individual's IPv6 address.
``timeout``
Please sign in to comment.
Something went wrong with that request. Please try again.