From f541694225604bef19979c197ffd23e0f647590b Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 26 Apr 2018 11:30:43 +0200 Subject: [PATCH] Fixed bug: Setting 'system_init_done' has to be set before Zammad allows the login. --- lib/tasks/bootstrap.rake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tasks/bootstrap.rake b/lib/tasks/bootstrap.rake index 52d3b1a3e..1fe854d9a 100644 --- a/lib/tasks/bootstrap.rake +++ b/lib/tasks/bootstrap.rake @@ -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