Fix wrong log warning message for request_uri validation
This commit is contained in:
parent
13ebdf68e9
commit
3023179d74
@ -463,7 +463,7 @@ class Server {
|
|||||||
|
|
||||||
// Validate the redirect URI.
|
// Validate the redirect URI.
|
||||||
if (!isset($queryParams['redirect_uri']) || false === filter_var($queryParams['redirect_uri'], FILTER_VALIDATE_URL)) {
|
if (!isset($queryParams['redirect_uri']) || false === filter_var($queryParams['redirect_uri'], FILTER_VALIDATE_URL)) {
|
||||||
$this->logger->warning("The client_id provided in an authorization request was not valid.", $queryParams);
|
$this->logger->warning("The request_uri provided in an authorization request was not valid.", $queryParams);
|
||||||
throw IndieAuthException::create(IndieAuthException::INVALID_REDIRECT_URI, $request);
|
throw IndieAuthException::create(IndieAuthException::INVALID_REDIRECT_URI, $request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user