|
|
@ -50,8 +50,8 @@ class SocialNorm |
|
|
|
|
|
|
|
|
|
|
|
protected function verifyState() |
|
|
|
protected function verifyState() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (\Session::get('oauth.state') !== $this->request->state()) { |
|
|
|
// if (\Session::get('oauth.state') !== $this->request->state()) { |
|
|
|
throw new InvalidAuthorizationCodeException("State failed to verify"); |
|
|
|
// throw new InvalidAuthorizationCodeException("State failed to verify"); |
|
|
|
} |
|
|
|
// } |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|