client secret can be null

This commit is contained in:
Julián Gutiérrez
2016-01-20 12:50:23 +01:00
parent 3e5889e93b
commit 8fb64041df
2 changed files with 5 additions and 5 deletions

View File

@@ -161,10 +161,10 @@ abstract class AbstractGrant implements GrantTypeInterface
}
$client = $this->clientRepository->getClientEntity(
$this->getIdentifier(),
$clientId,
$clientSecret,
null,
$this->getIdentifier()
null
);
if (!$client instanceof ClientEntityInterface) {