Skip to content

Commit a831df7

Browse files
committed
added FIXME - needs an extra check and perhaps error message, client registration may have been skipped
1 parent 16d33d4 commit a831df7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function getConfigClient() {
6666
if ($clientId) {
6767
$registeredClient = ClientRegistration::getRegistration($clientId);
6868
}
69-
if (isset($registeredClient)) {
69+
if (isset($registeredClient)) { //FIXME: $registeredClient may be false, what then?
7070
return new ConfigClient(
7171
$clientId,
7272
$registeredClient['client_secret'] ?? '',

0 commit comments

Comments
 (0)