diff options
| author | Michael Merickel <michael@merickel.org> | 2017-06-19 23:47:13 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2017-06-19 23:47:13 -0500 |
| commit | 068010176a6bb4ea98a0598600dc5f571a2a0502 (patch) | |
| tree | 250cf653913e417b671b7677e6ac74850c8922bc | |
| parent | 78b4b7cdde93edb7d5a611a662295e48b73e4f7a (diff) | |
| download | pyramid-068010176a6bb4ea98a0598600dc5f571a2a0502.tar.gz pyramid-068010176a6bb4ea98a0598600dc5f571a2a0502.tar.bz2 pyramid-068010176a6bb4ea98a0598600dc5f571a2a0502.zip | |
mention check_csrf_origin moving to the pyramid.csrf module
| -rw-r--r-- | docs/whatsnew-1.9.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/whatsnew-1.9.rst b/docs/whatsnew-1.9.rst index 3c2e75d5c..77a84e431 100644 --- a/docs/whatsnew-1.9.rst +++ b/docs/whatsnew-1.9.rst @@ -52,7 +52,7 @@ Deprecations - Retrieving CSRF token from the session has been deprecated in favor of equivalent methods in the :mod:`pyramid.csrf` module. The CSRF methods (``ISession.get_csrf_token`` and ``ISession.new_csrf_token``) are no longer required on the :class:`pyramid.interfaces.ISession` interface except when using the default :class:`pyramid.csrf.LegacySessionCSRFStoragePolicy`. - Also, ``pyramid.session.check_csrf_token`` is now located at :func:`pyramid.csrf.check_csrf_token`. + Also, ``pyramid.session.check_csrf_token`` is now located at :func:`pyramid.csrf.check_csrf_token` and ``pyramid.session.check_csrf_origin`` is moved to :func:`pyramid.csrf.check_csrf_origin`. See https://github.com/Pylons/pyramid/pull/2854 and https://github.com/Pylons/pyramid/pull/3019 |
