mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 04:05:54 +08:00
Update ESP170.cpp (#989)
Fix minor issues Signed-off-by: E2D <engineer2designer@gmail.com>
This commit is contained in:
parent
0057961497
commit
4a23898289
@ -73,7 +73,7 @@ void ESP3DCommands::ESP170(int cmd_params_pos, ESP3DMessage* msg) {
|
||||
bool json = hasTag(msg, cmd_params_pos, "json");
|
||||
String tmpstr;
|
||||
|
||||
#if AUTHENTICATION_FEATURE
|
||||
#ifdef AUTHENTICATION_FEATURE
|
||||
if (msg->authentication_level == ESP3DAuthenticationLevel::guest) {
|
||||
dispatchAuthenticationError(msg, COMMAND_ID, json);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user