mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
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)
|
public function createElements(array $formData)
|
||||||
{
|
{
|
||||||
if (isset($formData['type']) && $formData['type'] === 'external' && !isset($_SERVER['REMOTE_USER'])) {
|
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 '
|
'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 '
|
. 'mechanisms. Make sure you\'ll configure such, otherwise you\'ll not be able to '
|
||||||
. 'log into Icinga Web 2.'
|
. 'log into Icinga Web 2.'
|
||||||
));
|
),
|
||||||
|
false
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$backendTypes = array();
|
$backendTypes = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user