mirror of https://github.com/arendst/Tasmota.git
Merge pull request #12909 from ascillato/patch-1
Move HTTP Referer Rejection Loglevel from 3 to 2
This commit is contained in:
commit
fe19f5f4bb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue