mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
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…
x
Reference in New Issue
Block a user