Some changes

This commit is contained in:
Gunnar Skjold
2024-01-20 16:25:28 +01:00
parent afcc542e25
commit bfa1a65dfd
6 changed files with 57 additions and 56 deletions

View File

@@ -1611,8 +1611,8 @@ void AmsWebServer::handleSave() {
}
debugger->setPassword(webConfig.password);
} else {
strcpy_P(webConfig.username, PSTR(""));
strcpy_P(webConfig.password, PSTR(""));
memset(webConfig.username, 0, 37);
memset(webConfig.password, 0, 37);
debugger->setPassword(F(""));
}
strcpy(webConfig.context, server.arg(F("gc")).c_str());