Fixed bug: Setting 'system_init_done' has to be set before Zammad allows the login.
This commit is contained in:
parent
b66adbaba7
commit
f541694225
1 changed files with 4 additions and 0 deletions
|
@ -24,4 +24,8 @@ end
|
|||
def run_auto_wizard
|
||||
FileUtils.ln(AUTO_WIZARD[:source], AUTO_WIZARD[:destination], force: true)
|
||||
AutoWizard.setup
|
||||
|
||||
# set system init to done
|
||||
UserInfo.current_user_id = 1
|
||||
Setting.set('system_init_done', true)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue