Trim WiFi credentials from web config
This commit is contained in:
@@ -1460,6 +1460,7 @@ void handleUpdateWifiConfig() {
|
|||||||
String password = network["password"] | "";
|
String password = network["password"] | "";
|
||||||
|
|
||||||
ssid.trim();
|
ssid.trim();
|
||||||
|
password.trim();
|
||||||
|
|
||||||
if (ssid.length() == 0) {
|
if (ssid.length() == 0) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user