Skip to content

Commit dcad692

Browse files
author
wangjianhua
committed
* Force restart instance after updating LDAP.
1 parent 7d7812e commit dcad692

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/module/instance/model.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ public function switchLDAP($instance, $enableLDAP)
245245
$snippetName = $this->system->ldapSnippetName();
246246

247247
$settings = new stdclass;
248+
$settings->force_restart = true;
248249
if($enableLDAP)
249250
{
250251
$settings->settings_snippets = [$snippetName];

0 commit comments

Comments
 (0)