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:
Christopher Speller
2015-09-10 11:44:42 -04:00

View File

@@ -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 {