We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e04ea21 commit 95ed886Copy full SHA for 95ed886
1 file changed
src/main.py
@@ -63,6 +63,8 @@ def create_app() -> Quart:
63
64
@app.errorhandler(CSRFError)
65
async def handle_csrf_error(e):
66
+ logging.exception(e.description)
67
+ await flash("Session expired!", "danger")
68
if "url" in session and session["url"]:
69
return redirect(session["url"]), 400
70
else:
0 commit comments