mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
Wizard: Clear user group stage data on a auth backend type switch as well
refs #9609
This commit is contained in:
parent
fb7666e6bd
commit
226caac4f9
@ -150,6 +150,14 @@ class WebWizard extends Wizard implements SetupWizard
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->getDirection() === static::FORWARD) {
|
||||||
|
$backendConfig = $this->getPageData('setup_authentication_backend');
|
||||||
|
if ($backendConfig !== null && $request->getPost('backend') !== $backendConfig['backend']) {
|
||||||
|
$pageData = & $this->getPageData();
|
||||||
|
unset($pageData['setup_usergroup_backend']);
|
||||||
|
}
|
||||||
|
}
|
||||||
/*} elseif ($page->getName() === 'setup_ldap_discovery_confirm') {
|
/*} elseif ($page->getName() === 'setup_ldap_discovery_confirm') {
|
||||||
$page->setResourceConfig($this->getPageData('setup_ldap_discovery'));*/
|
$page->setResourceConfig($this->getPageData('setup_ldap_discovery'));*/
|
||||||
} elseif ($page->getName() === 'setup_usergroup_backend') {
|
} elseif ($page->getName() === 'setup_usergroup_backend') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user