mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-22 17:37:45 +02:00
parent
f449f621e2
commit
97534a36cd
@ -88,7 +88,9 @@ class TlsclientidentityController extends Controller
|
||||
$clientIdentities->resolvePath($fileName, true);
|
||||
|
||||
$this->view->form = $form = new ConfirmRemovalForm();
|
||||
$form->setOnSuccess(function (ConfirmRemovalForm $form) use ($name, $fileName, $clientIdentities) {
|
||||
$form
|
||||
->setRedirectUrl('config/tls')
|
||||
->setOnSuccess(function (ConfirmRemovalForm $form) use ($name, $fileName, $clientIdentities) {
|
||||
foreach (Hook::all('TlsClientIdentity') as $hook) {
|
||||
/** @var Hook\TlsClientIdentityHook $hook */
|
||||
|
||||
@ -112,7 +114,6 @@ class TlsclientidentityController extends Controller
|
||||
);
|
||||
return true;
|
||||
})
|
||||
->setRedirectUrl('config/tls')
|
||||
->handleRequest();
|
||||
|
||||
$this->addTitleTab(
|
||||
|
@ -106,7 +106,8 @@ class TlsrootcacollectionController extends Controller
|
||||
$rootCaCollections->resolvePath($fileName, true);
|
||||
|
||||
$this->view->form = $form = new ConfirmRemovalForm();
|
||||
$form->setOnSuccess(function (ConfirmRemovalForm $form) use ($name, $fileName, $rootCaCollections) {
|
||||
$form->setRedirectUrl('config/tls')
|
||||
->setOnSuccess(function (ConfirmRemovalForm $form) use ($name, $fileName, $rootCaCollections) {
|
||||
foreach (Hook::all('TlsRootCACertificateCollection') as $hook) {
|
||||
/** @var Hook\TlsRootCACertificateCollectionHook $hook */
|
||||
|
||||
@ -130,7 +131,6 @@ class TlsrootcacollectionController extends Controller
|
||||
);
|
||||
return true;
|
||||
})
|
||||
->setRedirectUrl('config/tls')
|
||||
->handleRequest();
|
||||
|
||||
$this->addTitleTab(
|
||||
|
Loading…
x
Reference in New Issue
Block a user