We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a1370 commit 552224bCopy full SHA for 552224b
docs/classic-ui/csrf.md
@@ -53,7 +53,7 @@ Usage example:
53
54
```python
55
from plone.protect import CheckAuthenticator
56
-from plone.protect import protec
+from plone.protect import protect
57
58
@protect(CheckAuthenticator)
59
def write_to_api_or_service(self):
@@ -89,7 +89,7 @@ To pass a token you need either to:
89
To add a token as an HTTP GET parameter to a link in a template, you can utilize the authenticator view:
90
91
```html
92
-<tal:authenticator tal:define="authenticator context/@@authenticator">
+<tal:authenticator tal:define="token context/@@authenticator/token">
93
<a href="${python:context.absolute_url()}/myprotected_view?_authenticator=${token}" />
94
</tal:authenticator>
95
```
0 commit comments