From 861bdc87d4e93fe7701ba236600e960ced9d8dbe Mon Sep 17 00:00:00 2001 From: Hayden Date: Tue, 13 Feb 2024 12:46:19 -0800 Subject: [PATCH] fix #240 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 3207bcb..973ecdd 100644 --- a/scripts/install +++ b/scripts/install @@ -135,7 +135,7 @@ echo "newuser = User.new({ \"email\"=>'$mailadmin', \"username\"=>'$admin', \"na newuser.admin = true newuser.confirmed_at = Time.now newuser.confirmation_token = nil -newuser.save +newuser.save! ApplicationSetting.last.update(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console #=================================================