summaryrefslogtreecommitdiff
path: root/templates/question.html
diff options
context:
space:
mode:
authorKalevi Yypänaho <kyypanah@local>2023-11-27 20:35:57 +0200
committerKalevi Yypänaho <kyypanah@local>2023-11-27 20:35:57 +0200
commitd74aca91c689b54b7b49bbfa7121f458f4caf751 (patch)
treeb13f1ffc7d6f5c816ac16147cc9b8703a17c69c7 /templates/question.html
parentd6c73dbde8a35905a8f29caf9b6d088043a5e78f (diff)
Adding csrf to templates.
Diffstat (limited to 'templates/question.html')
-rw-r--r--templates/question.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/question.html b/templates/question.html
index 62afaaf..76cba79 100644
--- a/templates/question.html
+++ b/templates/question.html
@@ -12,6 +12,7 @@
<input type="range" min="0" max="999" value="500"
class="kysAnswer" name="answer" >
+<input type="text" name="csrf" value="{{ session.csrf }}" hidden="true">
<input type="submit" value="Lisää kysymys">
</div>
</form>