mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-30 22:11:07 +00:00 
			
		
		
		
	fix gravatar disable bug (#22336)
This commit is contained in:
		
					parent
					
						
							
								32e863439c
							
						
					
				
			
			
				commit
				
					
						fdbb0b4762
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue