mirror of
				https://github.com/webmasterskaya/joomla-oauth-server.git
				synced 2025-10-31 07:43:22 +03:00 
			
		
		
		
	throw exception on client not found
This commit is contained in:
		
							parent
							
								
									1bb5becef0
								
							
						
					
					
						commit
						f69f561687
					
				| @ -61,6 +61,11 @@ class ScopeRepository implements ScopeRepositoryInterface, DispatcherAwareInterf | ||||
|     { | ||||
|         $client = $this->clientModel->getItemByIdentifier($clientEntity->getIdentifier()); | ||||
| 
 | ||||
|         if ($client === false) | ||||
|         { | ||||
|             throw new \RuntimeException($this->clientModel->getError()); | ||||
|         } | ||||
| 
 | ||||
|         $scopes = $this->setupScopes($client, array_values($scopes)); | ||||
| 
 | ||||
|         PluginHelper::importPlugin('oauthserver'); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user