Initialize web login credentials before delayed LAN startup
This commit is contained in:
1 parent
8a8c80ee6a
commit
9abddea527
2 files changed
+127
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user