Local API access debug message set to MEDIUM level
This commit is contained in:
parent
1767f000cd
commit
c1400fec42
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ int Controller::handleAPIConnection(Socket::Connection & conn){
|
||||||
tthread::lock_guard<tthread::mutex> guard(configMutex);
|
tthread::lock_guard<tthread::mutex> guard(configMutex);
|
||||||
//Are we local and not forwarded? Instant-authorized.
|
//Are we local and not forwarded? Instant-authorized.
|
||||||
if (!authorized && !H.hasHeader("X-Real-IP") && conn.isLocal()){
|
if (!authorized && !H.hasHeader("X-Real-IP") && conn.isLocal()){
|
||||||
INFO_MSG("Local API access automatically authorized");
|
MEDIUM_MSG("Local API access automatically authorized");
|
||||||
authorized = true;
|
authorized = true;
|
||||||
}
|
}
|
||||||
//if already authorized, do not re-check for authorization
|
//if already authorized, do not re-check for authorization
|
||||||
|
|
Loading…
Add table
Reference in a new issue