From 9df7acdeeb6a7f614cdcba4a3f8c117ab7c23718 Mon Sep 17 00:00:00 2001 From: tablatronix <807787+tablatronix@users.noreply.github.com> Date: Fri, 17 Nov 2023 12:14:04 -0600 Subject: [PATCH] doh --- WiFiManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index d5ebd3e8..6bc96708 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -1814,7 +1814,7 @@ void WiFiManager::handleWifiSave() { _ssid = server->arg(F("s")).c_str(); _pass = server->arg(F("p")).c_str(); - if(_ssid = "" && _pass != ""){ + if(_ssid == "" && _pass != ""){ _ssid = WiFi_SSID(true); // password change, placeholder ssid, @todo compare pass to old?, confirm ssid is clean #ifdef WM_DEBUG_LEVEL DEBUG_WM(WM_DEBUG_VERBOSE,F("Detected WiFi password change"));