mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
added TrimSpace() to GLU email (#2827)
This commit is contained in:
committed by
Christopher Speller
parent
1f4974dc02
commit
709f9dcbba
@@ -45,6 +45,7 @@ func userFromGitLabUser(glu *GitLabUser) *model.User {
|
||||
} else {
|
||||
user.FirstName = glu.Name
|
||||
}
|
||||
strings.TrimSpace(user.Email)
|
||||
user.Email = glu.Email
|
||||
user.AuthData = strconv.FormatInt(glu.Id, 10)
|
||||
user.AuthService = model.USER_AUTH_SERVICE_GITLAB
|
||||
|
||||
Reference in New Issue
Block a user