mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #641 from mattermost/fix-sso-email-verify
HOTFIX for 0.7.0 - Set EmailVerified to true for users signing up with SSO.
This commit is contained in:
@@ -561,6 +561,7 @@ func signupCompleteOAuth(c *api.Context, w http.ResponseWriter, r *http.Request)
|
||||
}
|
||||
|
||||
user.TeamId = team.Id
|
||||
user.EmailVerified = true
|
||||
|
||||
ruser := api.CreateUser(c, team, user)
|
||||
if c.Err != nil {
|
||||
|
||||
Reference in New Issue
Block a user