From: Michael J. Rubinsky Date: Sat, 1 May 2010 21:14:16 +0000 (-0400) Subject: This isn't the login url, it's the extended perms url for infinite sessions X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ab2be76ba99df6f4329f683be92e609defb8aea8;p=horde.git This isn't the login url, it's the extended perms url for infinite sessions --- diff --git a/horde/lib/Prefs/Ui.php b/horde/lib/Prefs/Ui.php index b3e89beb9..759c8fef4 100644 --- a/horde/lib/Prefs/Ui.php +++ b/horde/lib/Prefs/Ui.php @@ -523,7 +523,9 @@ class Horde_Prefs_Ui $notify->push(_("Temporarily unable to connect with Facebook, Please try again."), 'horde.alert'); } /* URL links */ - $url = $facebook->auth->getLoginUrl(Horde::url('services/facebook.php', true)); + $url = $facebook->auth->getExtendedPermUrl( + Horde_Service_Facebook_Auth::EXTEND_PERMS_OFFLINE, + Horde_Util::addParameter(Horde::url('services/facebook.php', true), 'action', 'authsuccess')); $t->set('authUrl', Horde::signQueryString($url)); $t->set('have_session', true); $t->set('user_pic_url', $user_info[0]['pic_with_logo']);