mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
add avator url for gitlab
This commit is contained in:
parent
5f718691ad
commit
5e6db73d4a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue