fix all csfr token issues

This commit is contained in:
2025-05-30 13:22:51 +02:00
parent fee79c6ec7
commit 9159817947
14 changed files with 39 additions and 44 deletions

2
app.py
View File

@@ -35,7 +35,7 @@ def create_app():
@app.context_processor
def inject_csrf_token():
return dict(csrf_token=lambda: generate_csrf())
return dict(csrf_token=generate_csrf())
@app.context_processor
def inject_config():