fix csrf error on import_dashboards (#2672)

This commit is contained in:
Alanna Scott 2017-04-24 18:38:17 -07:00 committed by GitHub
parent 03c42b5b87
commit e9ed416654
1 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,12 @@
<title>Import the dashboards.</title>
<h1>Import the dashboards.</h1>
<form method=post enctype=multipart/form-data>
<input
type="hidden"
name="csrf_token"
id="csrf_token"
value="{{ csrf_token() if csrf_token else '' }}"
>
<p><input type=file name=file>
<input type=submit value=Upload>
</p>