Skip to content

Commit

Permalink
change password textbox as optional param
Browse files Browse the repository at this point in the history
  • Loading branch information
BitMaker-hub committed May 25, 2024
1 parent e7e061c commit c402b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit c402b1f

Please sign in to comment.