Update composer dependencies and remove mustValidateSecret

This commit is contained in:
Andrew Millington
2019-07-13 17:37:45 +01:00
parent aba5353257
commit 4be97e6fd0
3 changed files with 36 additions and 40 deletions

View File

@@ -51,8 +51,7 @@ class ClientRepository implements ClientRepositoryInterface
}
if (
$mustValidateSecret === true
&& $clients[$clientIdentifier]['is_confidential'] === true
$clients[$clientIdentifier]['is_confidential'] === true
&& password_verify($clientSecret, $clients[$clientIdentifier]['secret']) === false
) {
return;