mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-16 16:01:36 +10:00
clear wifi strings
This commit is contained in:
@@ -606,6 +606,9 @@ uint8_t WiFiManager::processConfigPortal(){
|
||||
return WL_CONNECT_FAILED; // CONNECT FAIL
|
||||
}
|
||||
else{
|
||||
// clear save strings
|
||||
_ssid = "";
|
||||
_pass = "";
|
||||
// if connect fails, turn sta off to stabilize AP
|
||||
WiFi_Disconnect();
|
||||
WiFi_enableSTA(false);
|
||||
|
||||
Reference in New Issue
Block a user