mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 16:34:42 +08:00
Merge pull request #1360 from michaelkirk/feature/oauth2
not recording Oauth2 user email
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user