From aae07cf27bf201cd98f23a6d1891767a4d9c9f36 Mon Sep 17 00:00:00 2001 From: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:06:55 +0200 Subject: [PATCH] simple addition to allow clear text passwords for WiFi (#1245) --- src/httpserver/http_fns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/httpserver/http_fns.c b/src/httpserver/http_fns.c index 489781e4b..18d2641e3 100644 --- a/src/httpserver/http_fns.c +++ b/src/httpserver/http_fns.c @@ -1243,10 +1243,10 @@ int http_fn_cfg_wifi(http_request_t* request) { "); poststr_h2(request, "Use this to connect to your WiFi"); add_label_text_field(request, "SSID", "ssid", CFG_GetWiFiSSID(), "
"); - add_label_password_field(request, "Password", "pass", CFG_GetWiFiPass(), "
"); + add_label_password_field(request, "", "pass", CFG_GetWiFiPass(), "
Password enable clear text password (clears password)"); poststr_h2(request, "Alternate WiFi (used when first one is not responding)"); add_label_text_field(request, "SSID2", "ssid2", CFG_GetWiFiSSID2(), ""); - add_label_password_field(request, "Password2", "pass2", CFG_GetWiFiPass2(), "
"); + add_label_password_field(request, "", "pass2", CFG_GetWiFiPass2(), "
Password2 enable clear text password (clears password)"); #if ALLOW_WEB_PASSWORD int web_password_enabled = strcmp(CFG_GetWebPassword(), "") == 0 ? 0 : 1; poststr_h2(request, "Web Authentication");