summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/interfaces.rst2
-rw-r--r--docs/narr/security.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/interfaces.rst b/docs/api/interfaces.rst
index b88209a36..e542a6be0 100644
--- a/docs/api/interfaces.rst
+++ b/docs/api/interfaces.rst
@@ -44,7 +44,7 @@ Other Interfaces
.. autointerface:: IRoutePregenerator
:members:
- .. autointerface:: ICSRFPolicy
+ .. autointerface:: ICSRFStoragePolicy
:members:
.. autointerface:: ISession
diff --git a/docs/narr/security.rst b/docs/narr/security.rst
index 6962a0fe3..04c236e0b 100644
--- a/docs/narr/security.rst
+++ b/docs/narr/security.rst
@@ -787,7 +787,7 @@ a :term:`session factory` as described in
a cookie-based implementation :class:`pyramid.csrf.CookieCSRF` which gives
some additional flexibility as it does not require a session for each user.
You can also define your own implementation of
-:class:`pyramid.interfaces.ICSRFPolicy` and register it with the
+:class:`pyramid.interfaces.ICSRFStoragePolicy` and register it with the
:meth:`pyramid.config.Configurator.set_default_csrf_options` directive.
For example: