Browse Source

Change initial TrustModel to committer (#18335)

tags/v1.18.0-dev
zeripath 2 years ago
parent
commit
7427b81fec
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      routers/install/install.go

+ 2
- 0
routers/install/install.go View File

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

Loading…
Cancel
Save