Web Server Authentication

This commit is contained in:
amarofarinha 2024-09-08 20:47:37 +01:00
parent a4e56d4b04
commit 1647a4c572
5 changed files with 77 additions and 8 deletions

View file

@ -25,6 +25,9 @@ std::string password = "REPLACE_WITH_YOUR_PASSWORD"; // Minimum of 8 characters
const char* ssidAP = "Battery Emulator"; // Maximum of 63 characters, also used for device name on web interface
const char* passwordAP = "123456789"; // Minimum of 8 characters; set to NULL if you want the access point to be open
const uint8_t wifi_channel = 0; // Set to 0 for automatic channel selection
const char* http_username = "admin"; // username to webserver authentication;
const char* http_password = "admin"; // password to webserver authentication;
// MQTT
#ifdef MQTT
const char* mqtt_user = "REDACTED"; // Set NULL for no username