diff options
author | git-marijus <mario@mariovavti.com> | 2017-03-31 13:40:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 13:40:02 +0200 |
commit | 89e3f3210f5d8ddd49386a5c16320c4d2b909906 (patch) | |
tree | c6db28288c69264b0eb962c4caa3569c92dc8cda /view/tpl/item_import.tpl | |
parent | dc55c710da8b52c9a8e60663ad00aae28bbc8c6b (diff) | |
parent | 81736a01299f7c963e361e9b192df074999d16d8 (diff) | |
download | volse-hubzilla-89e3f3210f5d8ddd49386a5c16320c4d2b909906.tar.gz volse-hubzilla-89e3f3210f5d8ddd49386a5c16320c4d2b909906.tar.bz2 volse-hubzilla-89e3f3210f5d8ddd49386a5c16320c4d2b909906.zip |
Merge pull request #710 from dawnbreak/importcsrf
:lock: Add CSRF protection for import and import_items.
Diffstat (limited to 'view/tpl/item_import.tpl')
-rwxr-xr-x | view/tpl/item_import.tpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/view/tpl/item_import.tpl b/view/tpl/item_import.tpl index 65de7fcaf..e976417e1 100755 --- a/view/tpl/item_import.tpl +++ b/view/tpl/item_import.tpl @@ -1,7 +1,7 @@ <h2>{{$title}}</h2> <form action="import_items" method="post" enctype="multipart/form-data" id="import-channel-form"> - + <input type="hidden" name="form_security_token" value="{{$form_security_token}}"> <div id="import-desc" class="descriptive-paragraph">{{$desc}}</div> <label for="import-filename" id="label-import-filename" class="import-label" >{{$label_filename}}</label> @@ -10,6 +10,4 @@ <input type="submit" name="submit" id="import-submit-button" value="{{$submit}}" /> <div id="import-submit-end" class="import-field-end"></div> - </form> - |