summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/controls/editor/media-drawer.ejs1
-rw-r--r--views/controls/editor/settings.ejs2
2 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/editor/media-drawer.ejs b/views/controls/editor/media-drawer.ejs
index 4d8b596..9667178 100644
--- a/views/controls/editor/media-drawer.ejs
+++ b/views/controls/editor/media-drawer.ejs
@@ -1,4 +1,5 @@
<span class="fileUpload">
+ <input type="hidden" name="_csrf" value="[[- token ]]">
<form>
<span class="icon-ios7-upload-outline upload-icon"></span><br>
Upload File
diff --git a/views/controls/editor/settings.ejs b/views/controls/editor/settings.ejs
index f92d1c7..e21672c 100644
--- a/views/controls/editor/settings.ejs
+++ b/views/controls/editor/settings.ejs
@@ -1,4 +1,6 @@
<div class="vvbox settings">
+ <input type="hidden" name="_csrf" value="[[- token ]]">
+ <input type="hidden" name="_id" value="new">
<div class="setting">
<a href="#" id="startpoint">