correct scope, it should user:email to get read access to email

This commit is contained in:
Sam 2013-08-02 10:03:29 +10:00
parent 5e23a0681d
commit 857e2e6a19

View file

@ -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"