diff options
| author | Michael Merickel <michael@merickel.org> | 2016-02-16 23:23:23 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-02-16 23:23:23 -0600 |
| commit | f2c43689b50152d55ddc98e8f56754ee61f9a8c7 (patch) | |
| tree | 3bc85501956c0d49243e9eba4d9b6bc384e5a024 /docs/tutorials/wiki2 | |
| parent | 38b40761f1ba31773aca64ae600428516c98534c (diff) | |
| download | pyramid-f2c43689b50152d55ddc98e8f56754ee61f9a8c7.tar.gz pyramid-f2c43689b50152d55ddc98e8f56754ee61f9a8c7.tar.bz2 pyramid-f2c43689b50152d55ddc98e8f56754ee61f9a8c7.zip | |
remove whitespace
Diffstat (limited to 'docs/tutorials/wiki2')
| -rw-r--r-- | docs/tutorials/wiki2/authentication.rst | 2 | ||||
| -rw-r--r-- | docs/tutorials/wiki2/src/authentication/tutorial/security.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/authentication.rst b/docs/tutorials/wiki2/authentication.rst index c33ed5138..0b5e71099 100644 --- a/docs/tutorials/wiki2/authentication.rst +++ b/docs/tutorials/wiki2/authentication.rst @@ -38,7 +38,7 @@ Create a new file ``tutorial/security.py``: .. literalinclude:: src/authentication/tutorial/security.py :linenos: - :emphasize-lines: 9,14,28 + :emphasize-lines: 9,14,21-27 :language: python Here we've defined: diff --git a/docs/tutorials/wiki2/src/authentication/tutorial/security.py b/docs/tutorials/wiki2/src/authentication/tutorial/security.py index 24035c8b9..8ea3858d2 100644 --- a/docs/tutorials/wiki2/src/authentication/tutorial/security.py +++ b/docs/tutorials/wiki2/src/authentication/tutorial/security.py @@ -22,7 +22,6 @@ def includeme(config): settings['auth.secret'], hashalg='sha512', ) - config.set_authentication_policy(authn_policy) config.set_authorization_policy(ACLAuthorizationPolicy()) config.add_request_method(get_user, 'user', reify=True) |
