mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Merge pull request #1360 from michaelkirk/feature/oauth2
not recording Oauth2 user email
This commit is contained in:
commit
df2b0b47bd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue