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