mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
correct scope, it should user:email to get read access to email
This commit is contained in:
parent
5e23a0681d
commit
857e2e6a19
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
|||
strategy.options[:client_id] = SiteSetting.github_client_id
|
||||
strategy.options[:client_secret] = SiteSetting.github_client_secret
|
||||
},
|
||||
:scope => "email"
|
||||
:scope => "user:email"
|
||||
|
||||
provider :browser_id,
|
||||
:name => "persona"
|
||||
|
|
Loading…
Reference in a new issue