mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Fix context usages (#35348)
This commit is contained in:
		| @@ -196,7 +196,7 @@ func NewAccessTokenResponse(ctx context.Context, grant *auth.OAuth2Grant, server | ||||
| 		if grant.ScopeContains("profile") { | ||||
| 			idToken.Name = user.DisplayName() | ||||
| 			idToken.PreferredUsername = user.Name | ||||
| 			idToken.Profile = user.HTMLURL() | ||||
| 			idToken.Profile = user.HTMLURL(ctx) | ||||
| 			idToken.Picture = user.AvatarLink(ctx) | ||||
| 			idToken.Website = user.Website | ||||
| 			idToken.Locale = user.Language | ||||
|   | ||||
		Reference in New Issue
	
	Block a user