mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 08:45:54 +08:00
Merge branch '3.0' of https://github.com/luc-github/ESP3D into 3.0
This commit is contained in:
commit
e5f38a997f
@ -73,7 +73,7 @@ void ESP3DCommands::ESP170(int cmd_params_pos, ESP3DMessage* msg) {
|
|||||||
bool json = hasTag(msg, cmd_params_pos, "json");
|
bool json = hasTag(msg, cmd_params_pos, "json");
|
||||||
String tmpstr;
|
String tmpstr;
|
||||||
|
|
||||||
#if AUTHENTICATION_FEATURE
|
#ifdef AUTHENTICATION_FEATURE
|
||||||
if (msg->authentication_level == ESP3DAuthenticationLevel::guest) {
|
if (msg->authentication_level == ESP3DAuthenticationLevel::guest) {
|
||||||
dispatchAuthenticationError(msg, COMMAND_ID, json);
|
dispatchAuthenticationError(msg, COMMAND_ID, json);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user