Skip to content

Commit 78731ec

Browse files
author
Fiona McCrae
committed
linting reformatting
1 parent e35be77 commit 78731ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/v2/security.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def csrf_protect_middleware(request, handler):
9191
# If API key auth is present, skip CSRF checks
9292
if request.headers.get('KEY'):
9393
return await handler(request)
94-
94+
9595
# If the endpoint handler is explicitly decorated as authentication-exempt,
9696
# allow it to proceed without CSRF validation. This covers endpoints like
9797
# login which must be callable before a session and CSRF token exist.

0 commit comments

Comments
 (0)