mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Fix the case when the redirect_uri is null
This commit is contained in:
		@@ -16,7 +16,7 @@ class ClientRepository implements ClientRepositoryInterface {
 | 
			
		||||
            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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user