mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 17:18:48 -04:00
fix(user_ldap): Fix activation enforcement when testing the config
Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
parent
ae8b6290e1
commit
291ec1e474
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ class ConfigAPIController extends OCSController {
|
|||
$this->ensureConfigIDExists($configID);
|
||||
$connection = $this->connectionFactory->get($configID);
|
||||
$conf = $connection->getConfiguration();
|
||||
if ($conf['ldap_configuration_active'] === '0') {
|
||||
if ($conf['ldap_configuration_active'] !== '1') {
|
||||
//needs to be true, otherwise it will also fail with an irritating message
|
||||
$conf['ldap_configuration_active'] = '1';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue