mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Change initial TrustModel to committer (#18335)
This commit is contained in:
		@@ -464,6 +464,8 @@ func SubmitInstall(ctx *context.Context) {
 | 
				
			|||||||
	cfg.Section("log").Key("ROOT_PATH").SetValue(form.LogRootPath)
 | 
						cfg.Section("log").Key("ROOT_PATH").SetValue(form.LogRootPath)
 | 
				
			||||||
	cfg.Section("log").Key("ROUTER").SetValue("console")
 | 
						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")
 | 
						cfg.Section("security").Key("INSTALL_LOCK").SetValue("true")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	var internalToken string
 | 
						var internalToken string
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user