diff options
author | Kalevi Yypänaho <kyypanah@local> | 2023-11-27 20:35:57 +0200 |
---|---|---|
committer | Kalevi Yypänaho <kyypanah@local> | 2023-11-27 20:35:57 +0200 |
commit | d74aca91c689b54b7b49bbfa7121f458f4caf751 (patch) | |
tree | b13f1ffc7d6f5c816ac16147cc9b8703a17c69c7 /templates/base.html | |
parent | d6c73dbde8a35905a8f29caf9b6d088043a5e78f (diff) |
Adding csrf to templates.
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index f38eb12..e47e643 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,6 +5,7 @@ Anna itsellesi nimimerkki ensin: <input type="text" name="nick"> <input type="text" name="caller" value="{{ caller }}" hidden="true"> +<input type="text" name="csrf" value="{{ session.csrf }}" hidden="true"> <input type="submit" value="Lähetä"> </form> {% endif %} |