[WEBUI] Changed from GET to POST method for config forms with passwords (#2037)

This commit is contained in:
puterboy authored and GitHub committed 2024-08-29 07:05:58 -05:00
1 parent 5492e334dc
commit f34e549d59
2 files changed
+10 -10

No files matched your search

+3 -3
View File
@@ -1636,10 +1636,10 @@ void WebUISetup() {
server.on("/up", handleUP); // Firmware Upgrade
# endif
server.on("/cn", handleCN); // Configuration
server.on("/wi", handleWI); // Configure Wifi
server.on("/mq", handleMQ); // Configure MQTT
server.on("/wi", HTTP_POST, handleWI); // Configure Wifi
server.on("/mq", HTTP_POST, handleMQ); // Configure MQTT
# ifndef ESPWifiManualSetup
server.on("/cg", handleCG); // Configure gateway"
server.on("/cg", HTTP_POST, handleCG); // Configure gateway"
# endif
server.on("/wu", handleWU); // Configure WebUI
# ifdef ZgatewayLORA