mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-04 15:57:44 +00:00
Update vendor (github.com/mattermost)
This commit is contained in:
6
vendor/github.com/mattermost/platform/model/gitlab/gitlab.go
generated
vendored
6
vendor/github.com/mattermost/platform/model/gitlab/gitlab.go
generated
vendored
@ -5,11 +5,12 @@ package oauthgitlab
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/mattermost/platform/einterfaces"
|
||||
"github.com/mattermost/platform/model"
|
||||
"io"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/mattermost/mattermost-server/einterfaces"
|
||||
"github.com/mattermost/mattermost-server/model"
|
||||
)
|
||||
|
||||
type GitLabProvider struct {
|
||||
@ -45,7 +46,6 @@ func userFromGitLabUser(glu *GitLabUser) *model.User {
|
||||
} else {
|
||||
user.FirstName = glu.Name
|
||||
}
|
||||
strings.TrimSpace(user.Email)
|
||||
user.Email = glu.Email
|
||||
userId := strconv.FormatInt(glu.Id, 10)
|
||||
user.AuthData = &userId
|
||||
|
Reference in New Issue
Block a user