nextcloud/apps/user_ldap/appinfo/install.php

7 lines
166 B
PHP

<?php
$state = OCP\Config::getSystemValue('ldapIgnoreNamingRules', 'doSet');
if($state === 'doSet') {
OCP\Config::setSystemValue('ldapIgnoreNamingRules', false);
}