Initialize web login credentials before delayed LAN startup

This commit is contained in:
mikecarper committed 2026-10-26 17:05:35 -07:00
1 parent 8a8c80ee6a
commit 9abddea527
2 files changed
+127

No files matched your search

+3
View File
@@ -1154,6 +1154,9 @@ bool WebConfigServer::prepareStationOwner() {
}
void WebConfigServer::createServer() {
// Delayed saved-network joins reach here without startLanMode(). Publish
// the committed admin credential before HTTP handlers can accept logins.
initializeManagementPassword();
if (_host == NULL) {
_host = new AsyncWebServer(80);
_server = _host;