mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-18 19:15:05 +00:00
add avator url for gitlab
This commit is contained in:
@@ -73,6 +73,7 @@ func (r *Gitlab) Login(token, secret string) (*common.User, error) {
|
||||
user.Email = login.Email
|
||||
user.Token = token
|
||||
user.Secret = secret
|
||||
user.Avatar = r.URL + "/" + login.AvatarUrl
|
||||
return &user, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user