From: Tim Düsterhus Date: Tue, 30 Jun 2015 18:32:35 +0000 (+0200) Subject: Remove `user_interests` permission from FacebookAuthAction X-Git-Tag: 2.1.6~31^2~1^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=684e9f14a2229e6eac44b81deeb0add12f02614e;p=GitHub%2FWoltLab%2FWCF.git Remove `user_interests` permission from FacebookAuthAction It wasn’t used anyway and was deprecated / removed by Facebook. --- diff --git a/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php b/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php index d26e00ba69..8b4ee30325 100644 --- a/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php @@ -134,7 +134,7 @@ class FacebookAuthAction extends AbstractAction { // start auth by redirecting to facebook $token = StringUtil::getRandomID(); WCF::getSession()->register('__facebookInit', $token); - HeaderUtil::redirect("https://www.facebook.com/dialog/oauth?client_id=".StringUtil::trim(FACEBOOK_PUBLIC_KEY). "&redirect_uri=".rawurlencode($callbackURL)."&state=".$token."&scope=email,user_about_me,user_birthday,user_interests,user_location,user_website"); + HeaderUtil::redirect("https://www.facebook.com/dialog/oauth?client_id=".StringUtil::trim(FACEBOOK_PUBLIC_KEY). "&redirect_uri=".rawurlencode($callbackURL)."&state=".$token."&scope=email,user_about_me,user_birthday,user_location,user_website"); $this->executed(); exit; }