Populate LdapBackendForm with suggestions only on the first access
refs #2990
This commit is contained in:
parent
d11775a6b8
commit
a0ffdb0f7c
|
@ -138,7 +138,7 @@ class WebWizard extends Wizard implements SetupWizard
|
|||
} elseif ($authData['type'] === 'ldap') {
|
||||
$page->setResourceConfig($this->getPageData('setup_ldap_resource'));
|
||||
|
||||
if (! $this->hasPageData('setup_authentication_backend')) {
|
||||
if (! $this->hasPageData('setup_authentication_backend') && ! $request->isPost()) {
|
||||
$suggestions = $this->getPageData('setup_ldap_discovery');
|
||||
if (isset($suggestions['backend'])) {
|
||||
$page->populate($suggestions['backend']);
|
||||
|
|
Loading…
Reference in New Issue