Skip to content

Commit

Permalink
Force remove DNS input from Captive portal issue #1733 (#1745)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackoske authored Dec 11, 2024
1 parent 9333ec6 commit 47342ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2966,7 +2966,7 @@ void WiFiManager::setShowStaticFields(boolean alwaysShow){
*/
void WiFiManager::setShowDnsFields(boolean alwaysShow){
if(_disableIpFields) _staShowDns = alwaysShow ? 1 : -1;
_staShowDns = alwaysShow ? 1 : 0;
else _staShowDns = alwaysShow ? 1 : 0;
}

/**
Expand Down

0 comments on commit 47342ed

Please sign in to comment.