diff --git a/application/controllers/SettingsController.php b/application/controllers/SettingsController.php index 02cfca00..f1a4ef5d 100644 --- a/application/controllers/SettingsController.php +++ b/application/controllers/SettingsController.php @@ -12,6 +12,7 @@ class SettingsController extends ActionController public function selfServiceAction() { $form = SelfServiceSettingsForm::create($this->db(), new Settings($this->db())); + $form->handleRequest(); $hint = $this->translate( 'The Icinga Director Self Service API allows your Hosts to register' diff --git a/application/forms/SelfServiceSettingsForm.php b/application/forms/SelfServiceSettingsForm.php index ae0ec983..ee69b17d 100644 --- a/application/forms/SelfServiceSettingsForm.php +++ b/application/forms/SelfServiceSettingsForm.php @@ -196,7 +196,7 @@ class SelfServiceSettingsForm extends DirectorForm } $this->setSuccessMessage($this->translate( - 'Self Service Sttings have been stored' + 'Self Service Settings have been stored' )); parent::onSuccess();