mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Remove cache avatar support and add its tests
This commit is contained in:
		| @@ -455,7 +455,6 @@ var Service struct { | ||||
| 	DisableRegistration            bool | ||||
| 	ShowRegistrationButton         bool | ||||
| 	RequireSignInView              bool | ||||
| 	EnableCacheAvatar              bool | ||||
| 	EnableNotifyMail               bool | ||||
| 	EnableReverseProxyAuth         bool | ||||
| 	EnableReverseProxyAutoRegister bool | ||||
| @@ -469,7 +468,6 @@ func newService() { | ||||
| 	Service.DisableRegistration = sec.Key("DISABLE_REGISTRATION").MustBool() | ||||
| 	Service.ShowRegistrationButton = sec.Key("SHOW_REGISTRATION_BUTTON").MustBool(!Service.DisableRegistration) | ||||
| 	Service.RequireSignInView = sec.Key("REQUIRE_SIGNIN_VIEW").MustBool() | ||||
| 	Service.EnableCacheAvatar = sec.Key("ENABLE_CACHE_AVATAR").MustBool() | ||||
| 	Service.EnableReverseProxyAuth = sec.Key("ENABLE_REVERSE_PROXY_AUTHENTICATION").MustBool() | ||||
| 	Service.EnableReverseProxyAutoRegister = sec.Key("ENABLE_REVERSE_PROXY_AUTO_REGISTRATION").MustBool() | ||||
| 	Service.EnableCaptcha = sec.Key("ENABLE_CAPTCHA").MustBool() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user