From e1989398d9e6e8592bc2c5f8ddc78f1e97380a63 Mon Sep 17 00:00:00 2001 From: Chris Keller Date: Sat, 6 Jan 2024 22:50:00 -0700 Subject: [PATCH] Use startWiFi SSID and PW arguments --- src/AsyncFsWebServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsyncFsWebServer.cpp b/src/AsyncFsWebServer.cpp index ad05fe3d..bf8f9c0e 100644 --- a/src/AsyncFsWebServer.cpp +++ b/src/AsyncFsWebServer.cpp @@ -761,7 +761,7 @@ IPAddress AsyncFsWebServer::startWiFi(uint32_t timeout, const char *apSSID, cons ip = startWiFi(timeout, fn); if (!ip) { // No connection, start AP and then captive portal - startCaptivePortal("ESP_AP", "123456789", "/setup"); + startCaptivePortal(apSSID, apPsw, "/setup"); ip.fromString("8.8.8.8"); } return ip;