Skip to content

Commit

Permalink
* Force restart instance after updating LDAP.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjianhua committed Dec 22, 2022
1 parent 7d7812e commit dcad692
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/module/instance/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ public function switchLDAP($instance, $enableLDAP)
$snippetName = $this->system->ldapSnippetName();

$settings = new stdclass;
$settings->force_restart = true;
if($enableLDAP)
{
$settings->settings_snippets = [$snippetName];
Expand Down

0 comments on commit dcad692

Please sign in to comment.