mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 08:09:42 +00:00
API auth, log api key when auth failed.
This commit is contained in:
parent
8afb87cc04
commit
1cf72c2fdf
@ -172,6 +172,10 @@ class ApiControllerBase extends ControllerRoot
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$this->getLogger()->error("uri ".$_SERVER['REQUEST_URI'].
|
||||
" authentication failed for api key ". $apiKey
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user