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 Jan 20, 2022
1 parent 6c0fe1f commit 7427b81
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 7427b81

Please sign in to comment.