diff --git a/WiFiManager.cpp b/WiFiManager.cpp index a42d6295..4b14d2ef 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -1904,7 +1904,7 @@ void WiFiManager::handleInfo() { #endif for(size_t i=0; i"); if(_showInfoUpdate){ @@ -3227,7 +3227,7 @@ String WiFiManager::toStringIp(IPAddress ip) { boolean WiFiManager::validApPassword(){ // check that ap password is valid, return false - if (_apPassword == NULL) _apPassword = ""; + if (_apPassword.isEmpty()) _apPassword = ""; if (_apPassword != "") { if (_apPassword.length() < 8 || _apPassword.length() > 63) { #ifdef WM_DEBUG_LEVEL