API auth, log api key when auth failed.

This commit is contained in:
Ad Schellevis 2019-08-19 10:54:28 +02:00
parent 8afb87cc04
commit 1cf72c2fdf

View File

@ -172,6 +172,10 @@ class ApiControllerBase extends ControllerRoot
return true;
}
}
} else {
$this->getLogger()->error("uri ".$_SERVER['REQUEST_URI'].
" authentication failed for api key ". $apiKey
);
}
}
}