Skip to content

Commit

Permalink
Merge branch 'master' into feature_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
tablatronix committed Nov 18, 2023
2 parents a6b0415 + 9df7acd commit d4faef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1809,7 +1809,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"));
Expand Down

0 comments on commit d4faef5

Please sign in to comment.