From 2c7a4426926f264ee0611900071aa8083e5871a9 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Wed, 16 Sep 2026 04:22:19 -0700 Subject: [PATCH] fix: match install page update checker setting with app.ini (#39317) (#39327) Co-authored-by: afishcalledwander <327599756+afishcalledwander@users.noreply.github.com> Co-authored-by: wxiaoguang --- routers/install/install.go | 1 + templates/install.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/install/install.go b/routers/install/install.go index b0357c77203..074708d5f1f 100644 --- a/routers/install/install.go +++ b/routers/install/install.go @@ -103,6 +103,7 @@ func Install(ctx *context.Context) { } form.RegisterConfirm = setting.Service.RegisterEmailConfirm form.MailNotify = setting.Service.EnableNotifyMail + form.EnableUpdateChecker = setting.CfgProvider.Section("cron.update_checker").Key("ENABLED").MustBool(true) form.EnableOpenIDSignIn = setting.Service.EnableOpenIDSignIn form.EnableOpenIDSignUp = setting.Service.EnableOpenIDSignUp diff --git a/templates/install.tmpl b/templates/install.tmpl index bc6fed08e95..2da0f56ad46 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -150,7 +150,7 @@
- +
{{ctx.Locale.Tr "install.enable_update_checker_helper"}}