Trim WiFi credentials from web config
This commit is contained in:
1 parent
32069950b0
commit
6884bc7b32
1 file changed
+1
@@ -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