AuthenticationPage: Show the external-auth note as info form-notification
This commit is contained in:
parent
16a964cb20
commit
a8415caf24
|
@ -31,11 +31,14 @@ class AuthenticationPage extends Form
|
|||
public function createElements(array $formData)
|
||||
{
|
||||
if (isset($formData['type']) && $formData['type'] === 'external' && !isset($_SERVER['REMOTE_USER'])) {
|
||||
$this->addDescription($this->translate(
|
||||
$this->info(
|
||||
$this->translate(
|
||||
'You\'re currently not authenticated using any of the web server\'s authentication '
|
||||
. 'mechanisms. Make sure you\'ll configure such, otherwise you\'ll not be able to '
|
||||
. 'log into Icinga Web 2.'
|
||||
));
|
||||
),
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
$backendTypes = array();
|
||||
|
|
Loading…
Reference in New Issue