mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-12 08:47:10 +01:00
parent
5842cd23a6
commit
e5b404ec53
@ -105,9 +105,7 @@ func (source *Source) Authenticate(ctx context.Context, user *user_model.User, u
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if source.AttributeAvatar != "" {
|
if source.AttributeAvatar != "" {
|
||||||
if err := user_service.UploadAvatar(ctx, user, sr.Avatar); err != nil {
|
_ = user_service.UploadAvatar(ctx, user, sr.Avatar)
|
||||||
return user, err
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user