Fix compilation if no Autentication

Update version for tracking
This commit is contained in:
luc lebosse 2018-03-02 20:38:02 +01:00
parent 5f3c2e91db
commit 32b07c6740
2 changed files with 2 additions and 2 deletions

View File

@ -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 COMMAND::execute_command(int cmd,String cmd_params, tpipe output, level_authenticate_type auth_level)
{ {
bool response = true; bool response = true;
#ifdef AUTHENTICATION_FEATURE
level_authenticate_type auth_type = auth_level; level_authenticate_type auth_type = auth_level;
#ifdef AUTHENTICATION_FEATURE
if (isadmin(cmd_params)) { if (isadmin(cmd_params)) {
auth_type = LEVEL_ADMIN; auth_type = LEVEL_ADMIN;
LOG("admin identified\r\n"); LOG("admin identified\r\n");

View File

@ -186,7 +186,7 @@ extern "C" {
#endif #endif
#include "wificonf.h" #include "wificonf.h"
//version and sources location //version and sources location
#define FW_VERSION "0.9.100" #define FW_VERSION "0.9.101"
#define REPOSITORY "https://github.com/luc-github/ESP3D" #define REPOSITORY "https://github.com/luc-github/ESP3D"
typedef enum { typedef enum {