mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
password invalid better error msg
This commit is contained in:
+1
-1
@@ -2285,7 +2285,7 @@ boolean WiFiManager::validApPassword(){
|
||||
if (_apPassword == NULL) _apPassword = "";
|
||||
if (_apPassword != "") {
|
||||
if (_apPassword.length() < 8 || _apPassword.length() > 63) {
|
||||
DEBUG_WM(F("AccessPoint set password is INVALID"));
|
||||
DEBUG_WM(F("AccessPoint set password is INVALID or <8 chars"));
|
||||
_apPassword = "";
|
||||
return false; // @todo FATAL or fallback to empty ?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user