Skip to content

Commit 7427b81

Browse files
authored
Change initial TrustModel to committer (#18335)
1 parent 6c0fe1f commit 7427b81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routers/install/install.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ func SubmitInstall(ctx *context.Context) {
464464
cfg.Section("log").Key("ROOT_PATH").SetValue(form.LogRootPath)
465465
cfg.Section("log").Key("ROUTER").SetValue("console")
466466

467+
cfg.Section("repository.signing").Key("DEFAULT_TRUST_MODEL").SetValue("committer")
468+
467469
cfg.Section("security").Key("INSTALL_LOCK").SetValue("true")
468470

469471
var internalToken string

0 commit comments

Comments
 (0)