mirror of
https://github.com/elyby/accounts.git
synced 2024-11-06 08:11:24 +05:30
Fix the case when the redirect_uri is null
This commit is contained in:
parent
b938c62867
commit
5fbc167708
@ -16,7 +16,7 @@ class ClientRepository implements ClientRepositoryInterface {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new ClientEntity($client->id, $client->name, $client->redirect_uri, (bool)$client->is_trusted);
|
return new ClientEntity($client->id, $client->name, $client->redirect_uri ?? '', (bool)$client->is_trusted);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function validateClient($clientId, $clientSecret, $grantType): bool {
|
public function validateClient($clientId, $clientSecret, $grantType): bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user