mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
@@ -1814,6 +1814,13 @@ void WiFiManager::handleWifiSave() {
|
||||
_ssid = server->arg(F("s")).c_str();
|
||||
_pass = server->arg(F("p")).c_str();
|
||||
|
||||
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"));
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef WM_DEBUG_LEVEL
|
||||
String requestinfo = "SERVER_REQUEST\n----------------\n";
|
||||
requestinfo += "URI: ";
|
||||
|
||||
Reference in New Issue
Block a user