Fix WiFi Multi not clearing password

This commit is contained in:
me-no-dev 2019-04-13 17:19:06 +02:00
parent c60092951f
commit ea043cdb14

View File

@ -194,6 +194,8 @@ bool WiFiMulti::APlistAdd(const char* ssid, const char *passphrase)
free(newAP.ssid);
return false;
}
} else {
newAP.passphrase = NULL;
}
APlist.push_back(newAP);