Storage corrected

Wrong client storage replaced with session storage
This commit is contained in:
ziege 2013-03-22 17:24:36 +01:00
parent 521e5b22aa
commit 74d9946db3

View File

@ -102,7 +102,7 @@ class RefreshToken implements GrantTypeInterface {
}
// Validate refresh token
$sessionId = $this->authServer->getStorage('client')->validateRefreshToken(
$sessionId = $this->authServer->getStorage('session')->validateRefreshToken(
$authParams['refresh_token'],
$authParams['client_id']
);
@ -129,4 +129,4 @@ class RefreshToken implements GrantTypeInterface {
);
}
}
}