commit 4377bd089377b1052a4cdb09c42f2fa0562e7e29
parent 037e08d156a3a07e72a9709774f02f111ff59b37
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 31 Dec 2014 23:30:32 +0100
try to find out whats going on here :/
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/libs/OAuth2/src/fkooman/OAuth/Client/SessionStorage.php b/core/libs/OAuth2/src/fkooman/OAuth/Client/SessionStorage.php
@@ -137,13 +137,14 @@ class SessionStorage implements StorageInterface
public function getState($clientConfigId, $state)
{
+ echo "test";
if (!isset($_SESSION['php-oauth-client']['state'])) {
return false;
}
foreach ($_SESSION['php-oauth-client']['state'] as $s) {
$sessionState = unserialize($s);
- echo "test";
+
if ($clientConfigId !== $sessionState->getClientConfigId()) {
continue;