summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-11-04 01:51:57 -0500
committerChris McDonough <chrism@plope.com>2012-11-04 01:51:57 -0500
commit9149461a45399a9f7f23322daa7c02e1397f9a91 (patch)
treeb419ceb66f4298b63d4c0f591f1f5ef0ff7a58a8 /docs/narr
parent34d4cd0ea38fdbe0ab0e0832fc2114953ef4e94a (diff)
parent04875452db1da40bd8ed0841869d511b8d86527d (diff)
downloadpyramid-9149461a45399a9f7f23322daa7c02e1397f9a91.tar.gz
pyramid-9149461a45399a9f7f23322daa7c02e1397f9a91.tar.bz2
pyramid-9149461a45399a9f7f23322daa7c02e1397f9a91.zip
Merge branch 'iElectric-feature.sha512_auth'
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/security.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst
index 07ec0f21e..3c9759e6c 100644
--- a/docs/narr/security.rst
+++ b/docs/narr/security.rst
@@ -90,9 +90,9 @@ For example:
:linenos:
from pyramid.config import Configurator
- from pyramid.authentication import AuthTktAuthenticationPolicy
+ from pyramid.authentication import SHA512AuthTktAuthenticationPolicy
from pyramid.authorization import ACLAuthorizationPolicy
- authentication_policy = AuthTktAuthenticationPolicy('seekrit')
+ authentication_policy = SHA512AuthTktAuthenticationPolicy('seekrit')
authorization_policy = ACLAuthorizationPolicy()
config = Configurator()
config.set_authentication_policy(authentication_policy)