Commit 67f1a91c authored by Eric Duminil's avatar Eric Duminil
Browse files

Defaults are set anyway for those 3 params

Changing config_version will replace the passwords
with the defaults defined in config.h
parent 333307d7
Pipeline #5919 passed with stage
in 2 minutes and 31 seconds
......@@ -83,13 +83,6 @@ bool IotWebConf::init()
// -- Load configuration from EEPROM.
bool validConfig = this->loadConfig();
if (!validConfig)
{
// -- No config
this->_apPassword[0] = '\0';
this->_wifiParameters._wifiSsid[0] = '\0';
this->_wifiParameters._wifiPassword[0] = '\0';
}
this->_apTimeoutMs = atoi(this->_apTimeoutStr) * 1000;
// -- Setup mdns
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment