fixed: record Oauth2 user email
This commit is contained in:
parent
e0cb1d4086
commit
9e8d8870f5
|
@ -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