Skip to content

Commit

Permalink
include client_id in error report
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Oct 6, 2019
1 parent 53f5e74 commit 386d371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function start(ServerRequestInterface $request, ResponseInterface $respon
if($client_id && parse_url($client_id, PHP_URL_HOST) != 'localhost') {
$client = ORM::for_table('clients')->where('client_id', $client_id)->find_one();
if(!$client) {
$errors[] = 'This client_id is not registered';
$errors[] = 'This client_id is not registered ('.htmlspecialchars($client_id).')';
}
}

Expand Down

0 comments on commit 386d371

Please sign in to comment.