From 7427b81fecabeb1c67bbb9326a8bcaf9585dc28a Mon Sep 17 00:00:00 2001 From: zeripath Date: Thu, 20 Jan 2022 02:41:59 +0000 Subject: [PATCH] Change initial TrustModel to committer (#18335) --- routers/install/install.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routers/install/install.go b/routers/install/install.go index 7c3d43bbde07..230f6e0602ac 100644 --- a/routers/install/install.go +++ b/routers/install/install.go @@ -464,6 +464,8 @@ func SubmitInstall(ctx *context.Context) { cfg.Section("log").Key("ROOT_PATH").SetValue(form.LogRootPath) cfg.Section("log").Key("ROUTER").SetValue("console") + cfg.Section("repository.signing").Key("DEFAULT_TRUST_MODEL").SetValue("committer") + cfg.Section("security").Key("INSTALL_LOCK").SetValue("true") var internalToken string