mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
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>
|
<title>Import the dashboards.</title>
|
||||||
<h1>Import the dashboards.</h1>
|
<h1>Import the dashboards.</h1>
|
||||||
<form method=post enctype=multipart/form-data>
|
<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>
|
<p><input type=file name=file>
|
||||||
<input type=submit value=Upload>
|
<input type=submit value=Upload>
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user