mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-13 22:35:53 +08:00
Fix compilation if no Autentication
Update version for tracking
This commit is contained in:
parent
5f3c2e91db
commit
32b07c6740
@ -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");
|
||||||
|
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user