Refactoring: added controlled middleware and changed response class
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<h2><?= t('Webhook settings') ?></h2>
|
||||
</div>
|
||||
<section>
|
||||
<form method="post" action="<?= $this->url->href('config', 'webhook') ?>" autocomplete="off">
|
||||
<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'webhook')) ?>" autocomplete="off">
|
||||
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
@@ -32,4 +32,4 @@
|
||||
<?= $this->url->link(t('Reset token'), 'config', 'token', array('type' => 'webhook'), true) ?>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user