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.
Этот коммит содержится в:
Christopher Speller
2015-09-10 11:44:42 -04:00
родитель 842cdf0296 edcc8109f6
Коммит ff11273240

Просмотреть файл

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