Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit b85e1ab

Browse files
author
urmaul
committed
getReRequestUrl: state removed again
1 parent 45cb633 commit b85e1ab

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Facebook/FacebookRedirectLoginHelper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,9 @@ public function getLoginUrl($scope = array(), $version = null)
114114
public function getReRequestUrl($scope = array(), $version = null)
115115
{
116116
$version = ($version ?: FacebookRequest::GRAPH_API_VERSION);
117-
$this->state = $this->random(16);
118-
$this->storeState($this->state);
119117
$params = array(
120118
'client_id' => $this->appId,
121119
'redirect_uri' => $this->redirectUrl,
122-
'state' => $this->state,
123120
'sdk' => 'php-sdk-' . FacebookRequest::VERSION,
124121
'auth_type' => 'rerequest',
125122
'scope' => implode(',', $scope)

0 commit comments

Comments
 (0)