mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
allow for empty password
This commit is contained in:
@@ -835,6 +835,7 @@ String WiFiManager::toStringIp(IPAddress ip) {
|
||||
|
||||
boolean WiFiManager::validApPassword(){
|
||||
// check that ap password is valid, return false
|
||||
if (_apPassword == "") _apPassword = NULL;
|
||||
if (_apPassword != NULL) {
|
||||
if (strlen(_apPassword) < 8 || strlen(_apPassword) > 63) {
|
||||
DEBUG_WM(F("AccessPoint password is INVALID"));
|
||||
|
||||
Reference in New Issue
Block a user