mirror of https://github.com/apache/superset.git
fix csrf error on import_dashboards (#2672)
This commit is contained in:
parent
03c42b5b87
commit
e9ed416654
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue