From c402b1f4e332c09286458eb3b6a5f4874fc72d45 Mon Sep 17 00:00:00 2001 From: BitMaker Date: Sat, 25 May 2024 23:39:03 +0200 Subject: [PATCH] change password textbox as optional param --- src/wManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wManager.cpp b/src/wManager.cpp index e91f85b..f4eee2c 100644 --- a/src/wManager.cpp +++ b/src/wManager.cpp @@ -150,7 +150,7 @@ void init_WifiManager() WiFiManagerParameter port_text_box_num("Poolport", "Pool port", convertedValue, 7); // Text box (String) - 80 characters maximum - WiFiManagerParameter password_text_box("Poolpassword", "Pool password (Optional)", Settings.PoolPassword, 80); + //WiFiManagerParameter password_text_box("Poolpassword", "Pool password (Optional)", Settings.PoolPassword, 80); // Text box (String) - 80 characters maximum WiFiManagerParameter addr_text_box("btcAddress", "Your BTC address", Settings.BtcWallet, 80); @@ -169,7 +169,7 @@ void init_WifiManager() } WiFiManagerParameter save_stats_to_nvs("SaveStatsToNVS", "Save mining statistics to flash memory.", "T", 2, checkboxParams, WFM_LABEL_AFTER); // Text box (String) - 80 characters maximum - WiFiManagerParameter password_text_box("Poolpassword - Optionl", "Pool password", Settings.PoolPassword, 80); + WiFiManagerParameter password_text_box("Poolpassword - Optional", "Pool password", Settings.PoolPassword, 80); // Add all defined parameters wm.addParameter(&pool_text_box);