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