summaryrefslogtreecommitdiff
path: root/routes/question.py
diff options
context:
space:
mode:
Diffstat (limited to 'routes/question.py')
-rw-r--r--routes/question.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/question.py b/routes/question.py
index ad31993..981e15d 100644
--- a/routes/question.py
+++ b/routes/question.py
@@ -14,6 +14,7 @@ def question():
@app.route("/set/question",methods=["POST"])
def new_question():
+ csrf_check("/#create")
try:
question = request.form["question"]
neg_ans = request.form["neg_ans"]