Merge branch 'development' into LTS_development
This commit is contained in:
commit
f6f11af618
2 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ int Controller::handleAPIConnection(Socket::Connection & conn){
|
|||
tthread::lock_guard<tthread::mutex> guard(configMutex);
|
||||
//Are we local and not forwarded? Instant-authorized.
|
||||
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;
|
||||
}
|
||||
//if already authorized, do not re-check for authorization
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue