Custom error on CSRF failures, closes #2390

Uses https://github.com/simonw/asgi-csrf/issues/28
This commit is contained in:
Simon Willison 2024-08-14 21:29:16 -07:00
commit 06d4ffb92e
3 changed files with 27 additions and 1 deletions

View file

@ -55,7 +55,7 @@ setup(
"uvicorn>=0.11",
"aiofiles>=0.4",
"janus>=0.6.2",
"asgi-csrf>=0.9",
"asgi-csrf>=0.10",
"PyYAML>=5.3",
"mergedeep>=1.1.1",
"itsdangerous>=1.1",