File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ public function getLogoutUrl($params=array()) {
544544 'logout.php ' ,
545545 array_merge (array (
546546 'next ' => $ this ->getCurrentUrl (),
547- 'access_token ' => $ this ->getAccessToken (),
547+ 'access_token ' => $ this ->getUserAccessToken (),
548548 ), $ params )
549549 );
550550 }
Original file line number Diff line number Diff line change @@ -649,6 +649,7 @@ public function testLogoutURLDefaults() {
649649 $ encodedUrl = rawurlencode ('http://fbrell.com/examples ' );
650650 $ this ->assertNotNull (strpos ($ facebook ->getLogoutUrl (), $ encodedUrl ),
651651 'Expect the current url to exist. ' );
652+ $ this ->assertFalse (strpos ($ facebook ->getLogoutUrl (), self ::SECRET ));
652653 }
653654
654655 public function testLoginStatusURLDefaults () {
You can’t perform that action at this time.
0 commit comments