mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	fix gravatar disable bug (#22336)
This commit is contained in:
		@@ -275,7 +275,7 @@ func Init() error {
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if enableFederatedAvatarSetting.GetValueBool() {
 | 
			
		||||
	if GravatarSourceURL != nil && enableFederatedAvatarSetting.GetValueBool() {
 | 
			
		||||
		LibravatarService = libravatar.New()
 | 
			
		||||
		if GravatarSourceURL.Scheme == "https" {
 | 
			
		||||
			LibravatarService.SetUseHTTPS(true)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user