From d6c73dbde8a35905a8f29caf9b6d088043a5e78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marjo=20Murtom=C3=A4ki?= Date: Mon, 27 Nov 2023 20:06:59 +0200 Subject: Fixing so that the code will run again after adding csrf checks. --- routes/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/create.py') diff --git a/routes/create.py b/routes/create.py index c218d1f..083cc0e 100644 --- a/routes/create.py +++ b/routes/create.py @@ -1,7 +1,7 @@ from app import app from flask import render_template,session,request,redirect import db_actions as D -from routes.tools import rows2dicts, get_alert, get_nick, generate_link, red +from routes.tools import rows2dicts, get_alert, get_nick, generate_link, csrf_check @app.route("/pages/create.html") -- cgit v1.2.3