mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
parent
6f37485c8d
commit
4b9a30755f
@ -79,9 +79,12 @@ class AuthBackendPage extends Form
|
|||||||
));
|
));
|
||||||
} elseif ($this->config['type'] === 'ldap') {
|
} elseif ($this->config['type'] === 'ldap') {
|
||||||
$type = null;
|
$type = null;
|
||||||
if (! isset($formData['type']) && isset($formData['backend'])) {
|
if (! isset($formData['type'])) {
|
||||||
$type = $formData['backend'];
|
if (isset($formData['backend'])) {
|
||||||
$formData['type'] = $type;
|
$formData['type'] = $type = $formData['backend'];
|
||||||
|
} elseif (isset($this->suggestions['backend'])) {
|
||||||
|
$formData['type'] = $type = $this->suggestions['backend'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$backendForm = new LdapBackendForm();
|
$backendForm = new LdapBackendForm();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user