Skip to content

Commit

Permalink
Change initial TrustModel to committer (go-gitea#18335)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeripath authored and Stelios Malathouras committed Mar 28, 2022
1 parent a080e5f commit 587f06f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routers/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 587f06f

Please sign in to comment.