Skip to content

Commit

Permalink
fix: change check for requires_consent
Browse files Browse the repository at this point in the history
  • Loading branch information
lart2150 committed Dec 2, 2024
1 parent bd9c700 commit 8fac67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storage/ClientCredentialsStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function clientRequiresConsent( $client_id ): bool {
return true;
}

return true === $client['requires_consent'];
return false !== $client['requires_consent'];
}

public function getClientScope( $client_id ) {
Expand Down

0 comments on commit 8fac67b

Please sign in to comment.