diff --git a/build b/build index bf0d87a..7813681 100644 --- a/build +++ b/build @@ -1 +1 @@ -4 \ No newline at end of file +5 \ No newline at end of file diff --git a/src/framework/MicroService.h b/src/framework/MicroService.h index b0aa27a..dc95ff3 100644 --- a/src/framework/MicroService.h +++ b/src/framework/MicroService.h @@ -4745,6 +4745,7 @@ namespace OpenWifi { inline bool RESTAPIHandler::IsAuthorized( bool & Expired , [[maybe_unused]] bool & Contacted , bool Sub ) { if(Internal_ && Request->has("X-INTERNAL-NAME")) { auto Allowed = MicroService::instance().IsValidAPIKEY(*Request); + Contacted = true; if(!Allowed) { if(Server_.LogBadTokens(false)) { Logger_.debug(fmt::format("I-REQ-DENIED({}): Method={} Path={}",