Fixed bug: Setting 'system_init_done' has to be set before Zammad allows the login.

This commit is contained in:
Thorsten Eckel 2018-04-26 11:30:43 +02:00
parent b66adbaba7
commit f541694225

View file

@ -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