mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Merge branch 'dev' of github.com:gogits/gogs into dev
Conflicts: models/oauth2.go
This commit is contained in:
		@@ -44,5 +44,6 @@ func GetOauth2(identity string) (oa *Oauth2, err error) {
 | 
			
		||||
	} else if oa.Uid == 0 {
 | 
			
		||||
		return oa, ErrOauth2NotAssociatedWithUser
 | 
			
		||||
	}
 | 
			
		||||
	return GetUserById(oa.Uid)
 | 
			
		||||
	oa.User, err = GetUserById(oa.Uid)
 | 
			
		||||
	return oa, err
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user