Fix that no form values are stored for the LdapDiscoveryPage
refs #7163
This commit is contained in:
parent
e72f2cac24
commit
7f453be1cc
|
@ -69,15 +69,14 @@ class LdapDiscoveryPage extends Form
|
|||
*/
|
||||
public function isValid($data)
|
||||
{
|
||||
if ($data['skip_validation'] === '1') {
|
||||
return true;
|
||||
}
|
||||
if (false === parent::isValid($data)) {
|
||||
return false;
|
||||
}
|
||||
if (false === $this->discoveryForm->isValid($data)) {
|
||||
|
||||
if (! $data['skip_validation'] && false === $this->discoveryForm->isValid($data)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue