mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
parent
27a51ac34c
commit
062bc717fc
@ -12,6 +12,7 @@ class SettingsController extends ActionController
|
|||||||
public function selfServiceAction()
|
public function selfServiceAction()
|
||||||
{
|
{
|
||||||
$form = SelfServiceSettingsForm::create($this->db(), new Settings($this->db()));
|
$form = SelfServiceSettingsForm::create($this->db(), new Settings($this->db()));
|
||||||
|
$form->handleRequest();
|
||||||
|
|
||||||
$hint = $this->translate(
|
$hint = $this->translate(
|
||||||
'The Icinga Director Self Service API allows your Hosts to register'
|
'The Icinga Director Self Service API allows your Hosts to register'
|
||||||
|
@ -196,7 +196,7 @@ class SelfServiceSettingsForm extends DirectorForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->setSuccessMessage($this->translate(
|
$this->setSuccessMessage($this->translate(
|
||||||
'Self Service Sttings have been stored'
|
'Self Service Settings have been stored'
|
||||||
));
|
));
|
||||||
|
|
||||||
parent::onSuccess();
|
parent::onSuccess();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user