FIX: remove facebook_request_extra_profile_details

Since this no longer works
This commit is contained in:
Sam
2018-04-26 14:14:35 +10:00
parent 7368841374
commit c7a0ced656
21 changed files with 0 additions and 24 deletions

View File

@ -57,9 +57,6 @@ class Auth::FacebookAuthenticator < Auth::Authenticator
strategy.options[:client_id] = SiteSetting.facebook_app_id
strategy.options[:client_secret] = SiteSetting.facebook_app_secret
strategy.options[:info_fields] = 'gender,email,name,about,first_name,link,last_name,website,location'
if SiteSetting.facebook_request_extra_profile_details
strategy.options[:scope] = 'email,user_about_me,user_location,user_website'
end
},
scope: "email"
end