mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	fox #620
This commit is contained in:
		@@ -285,7 +285,6 @@ var Service struct {
 | 
			
		||||
	LdapAuth               bool
 | 
			
		||||
	ActiveCodeLives        int
 | 
			
		||||
	ResetPwdCodeLives      int
 | 
			
		||||
	EnableGitHooks         bool
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func newService() {
 | 
			
		||||
@@ -295,7 +294,6 @@ func newService() {
 | 
			
		||||
	Service.RequireSignInView = Cfg.MustBool("service", "REQUIRE_SIGNIN_VIEW")
 | 
			
		||||
	Service.EnableCacheAvatar = Cfg.MustBool("service", "ENABLE_CACHE_AVATAR")
 | 
			
		||||
	Service.EnableReverseProxyAuth = Cfg.MustBool("service", "ENABLE_REVERSE_PROXY_AUTHENTICATION")
 | 
			
		||||
	Service.EnableGitHooks = Cfg.MustBool("service", "ENABLE_GIT_HOOKS")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var logLevels = map[string]string{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user