mirror of https://github.com/arendst/Tasmota.git
http referer error message
This commit is contained in:
parent
079cd54088
commit
cbab3bdfb0
|
@ -666,7 +666,7 @@ bool HttpCheckPriviledgedAccess(bool autorequestauth = true)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_HTTP "Referer denied"));
|
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_HTTP "HTP: Referer denied. Use 'SO128 1' for HTTP API commands. 'Webpassword' is recommended."));
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue