diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index 05889d89..9c851130 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -276,9 +276,6 @@ // Requires ASYNC_TCP_SSL_ENABLED to 1 and ESP8266 Arduino Core 2.4.0 #define WEB_SSL_ENABLED 0 // Use HTTPS web interface -#define WEB_MODE_NORMAL 0 -#define WEB_MODE_PASSWORD 1 - #define WEB_USERNAME "admin" // HTTP username #define WEB_FORCE_PASS_CHANGE 1 // Force the user to change the password if default one #define WEB_PORT 80 // HTTP port diff --git a/code/espurna/config/types.h b/code/espurna/config/types.h index eabbff0d..9ab72171 100644 --- a/code/espurna/config/types.h +++ b/code/espurna/config/types.h @@ -82,6 +82,10 @@ #define UI_TAG_CHECKBOX 1 #define UI_TAG_SELECT 2 +#define WEB_MODE_NORMAL 0 +#define WEB_MODE_PASSWORD 1 + + // ----------------------------------------------------------------------------- // LIGHT // -----------------------------------------------------------------------------