Added MQTT port field, bumped user, pass and CID to 40 characters

This commit is contained in:
Timothy Brown
2019-08-17 21:34:47 -04:00
parent 95b33c9c34
commit c57124e876
7 changed files with 26 additions and 16 deletions

View File

@@ -177,6 +177,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
}
strcpy(mqttServer, request->arg("MS").c_str());
strcpy(mqttPort, request->arg("MQTTPORT").c_str());
strcpy(mqttUser, request->arg("MQTTUSER").c_str());
strcpy(mqttPass, request->arg("MQTTPASS").c_str());
strcpy(mqttClientID, request->arg("MQTTCID").c_str());