Skip to content

Commit a299a00

Browse files
committed
dedent
1 parent 2e29133 commit a299a00

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/classic-ui/csrf.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ Checks whether a valid CSRF token is present in the request and raises `Unauthor
5252
Usage example:
5353

5454
```python
55-
from plone.protect import CheckAuthenticator
56-
from plone.protect import protec
57-
58-
@protect(CheckAuthenticator)
59-
def write_to_api_or_service(self):
60-
# code here
61-
...
62-
```
55+
from plone.protect import CheckAuthenticator
56+
from plone.protect import protec
57+
58+
@protect(CheckAuthenticator)
59+
def write_to_api_or_service(self):
60+
# code here
61+
...
62+
```
6363

6464
### HTTP POST check with `PostOnly`
6565

0 commit comments

Comments
 (0)