Merge pull request #12909 from ascillato/patch-1

Move HTTP Referer Rejection Loglevel from 3 to 2
This commit is contained in:
Theo Arends 2021-08-17 21:07:51 +02:00 committed by GitHub
commit fe19f5f4bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ bool HttpCheckPriviledgedAccess(bool autorequestauth = true)
return true;
}
}
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_HTTP "Referer denied"));
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_HTTP "Referer denied. Use 'SO128 1' for HTTP API commands. 'Webpassword' is recommended."));
return false;
} else {
return true;