diff --git a/esp3d/command.cpp b/esp3d/command.cpp index cbd6c91e..9b86fe72 100644 --- a/esp3d/command.cpp +++ b/esp3d/command.cpp @@ -118,8 +118,8 @@ bool COMMAND::isuser(String & cmd_params) bool COMMAND::execute_command(int cmd,String cmd_params, tpipe output, level_authenticate_type auth_level) { bool response = true; -#ifdef AUTHENTICATION_FEATURE level_authenticate_type auth_type = auth_level; +#ifdef AUTHENTICATION_FEATURE if (isadmin(cmd_params)) { auth_type = LEVEL_ADMIN; LOG("admin identified\r\n"); diff --git a/esp3d/config.h b/esp3d/config.h index 99b82a4a..5b043e55 100644 --- a/esp3d/config.h +++ b/esp3d/config.h @@ -186,7 +186,7 @@ extern "C" { #endif #include "wificonf.h" //version and sources location -#define FW_VERSION "0.9.100" +#define FW_VERSION "0.9.101" #define REPOSITORY "https://github.com/luc-github/ESP3D" typedef enum {