Merge pull request #1360 from michaelkirk/feature/oauth2
not recording Oauth2 user email
This commit is contained in:
commit
df2b0b47bd
|
@ -213,7 +213,7 @@ class Users::OmniauthCallbacksController < ApplicationController
|
||||||
oauth2_user_info = Oauth2UserInfo.create(uid: oauth2_uid,
|
oauth2_user_info = Oauth2UserInfo.create(uid: oauth2_uid,
|
||||||
provider: oauth2_provider,
|
provider: oauth2_provider,
|
||||||
name: name,
|
name: name,
|
||||||
email: name,
|
email: email,
|
||||||
user: user)
|
user: user)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue