mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix heavy regression on GitLab for version 3.0.0 (#3000)
Fix regression on GitLab
This commit is contained in:
committed by
Christopher Speller
parent
dcba917d60
commit
7fa7bee9fc
@@ -47,7 +47,8 @@ func userFromGitLabUser(glu *GitLabUser) *model.User {
|
||||
}
|
||||
strings.TrimSpace(user.Email)
|
||||
user.Email = glu.Email
|
||||
*user.AuthData = strconv.FormatInt(glu.Id, 10)
|
||||
userId := strconv.FormatInt(glu.Id, 10)
|
||||
user.AuthData = &userId
|
||||
user.AuthService = model.USER_AUTH_SERVICE_GITLAB
|
||||
|
||||
return user
|
||||
|
||||
Reference in New Issue
Block a user