Add missing CSRF check in saveUploadDB() method
This commit is contained in:
@@ -8,9 +8,7 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<form action="<?= $this->url->href('ConfigController', 'saveUploadedDb') ?>" method="post" enctype="multipart/form-data">
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
<form action="<?= $this->url->href('ConfigController', 'saveUploadedDb', [], true) ?>" method="post" enctype="multipart/form-data">
|
||||
<?= $this->form->label(t('Database file'), 'file') ?>
|
||||
<?= $this->form->file('file') ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user