We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c28899 commit d54b3c4Copy full SHA for d54b3c4
src/base_facebook.php
@@ -699,7 +699,7 @@ protected function getMetadataCookieName() {
699
* code could not be determined.
700
*/
701
protected function getCode() {
702
- if (!isset($_REQUEST['code']) || !isset($_REQUEST['state']) || $this->state === null) {
+ if (!isset($_REQUEST['code']) || !isset($_REQUEST['state'])) {
703
return false;
704
}
705
if ($this->state === $_REQUEST['state']) {
0 commit comments