1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

correctly handle pass and sizes

This commit is contained in:
wellenvogel
2022-11-15 23:33:49 +01:00
parent 86139fc445
commit c02be797db
5 changed files with 20 additions and 90 deletions

View File

@@ -237,7 +237,7 @@ function changeConfig() {
.then(function (pass) {
let newAdminPass;
let url = "/api/setConfig"
let body="hash="+encodeURIComponent(pass)+"&";
let body="_hash="+encodeURIComponent(pass)+"&";
let allValues=getAllConfigs();
if (!allValues) return;
for (let name in allValues){