diff --git a/src/wManager.cpp b/src/wManager.cpp index 6b7e98f..df425ff 100644 --- a/src/wManager.cpp +++ b/src/wManager.cpp @@ -134,6 +134,9 @@ void init_WifiManager() // Text box (Number) - 7 characters maximum 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); + // Text box (String) - 80 characters maximum WiFiManagerParameter addr_text_box("btcAddress", "Your BTC address", Settings.BtcWallet, 80); @@ -150,8 +153,6 @@ void init_WifiManager() strcat(checkboxParams, " checked"); } WiFiManagerParameter save_stats_to_nvs("SaveStatsToNVS", "Track Uptime, Best Diff, Total Hashes in device Flash memory. (Experimental)", "T", 2, checkboxParams, WFM_LABEL_AFTER); - // Text box (String) - 80 characters maximum - WiFiManagerParameter password_text_box("Poolpassword - Optionl", "Pool password", Settings.PoolPassword, 80); // Add all defined parameters wm.addParameter(&pool_text_box);