diff options
author | zeripath <art27@cantab.net> | 2022-01-20 02:41:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 21:41:59 -0500 |
commit | 7427b81fecabeb1c67bbb9326a8bcaf9585dc28a (patch) | |
tree | 31fb2aeb95f9da6c92c9217b8df1c16a4a3609e4 /routers/install | |
parent | 6c0fe1f3ece924a008c9a0da1591e0effd654876 (diff) | |
download | gitea-7427b81fecabeb1c67bbb9326a8bcaf9585dc28a.tar.gz gitea-7427b81fecabeb1c67bbb9326a8bcaf9585dc28a.zip |
Change initial TrustModel to committer (#18335)
Diffstat (limited to 'routers/install')
-rw-r--r-- | routers/install/install.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/install/install.go b/routers/install/install.go index 7c3d43bbde..230f6e0602 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 |