fixed: record Oauth2 user email

This commit is contained in:
Michael Kirk 2013-08-19 11:21:27 -07:00
parent e0cb1d4086
commit 9e8d8870f5
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class Users::OmniauthCallbacksController < ApplicationController
oauth2_user_info = Oauth2UserInfo.create(uid: oauth2_uid,
provider: oauth2_provider,
name: name,
email: name,
email: email,
user: user)
end