mirror of
https://github.com/nextcloud/server.git
synced 2024-08-13 02:10:44 +02:00
LDAP Wizard: clear the cache on save so changes have immediate effect
This commit is contained in:
parent
ff9ecc8a51
commit
ce1318c9f1
@ -90,6 +90,9 @@ switch($action) {
|
||||
exit;
|
||||
}
|
||||
$configuration->saveConfiguration();
|
||||
//clear the cache on save
|
||||
$connection = new \OCA\user_ldap\lib\Connection($ldapWrapper, $prefix);
|
||||
$connection->clearCache();
|
||||
OCP\JSON::success();
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user