Skip to content

Force remove DNS input from Captive portal #1733

Open
@JuniorLopasso

Description

@JuniorLopasso

Basic Infos

Hardware

WiFimanager Branch/Release: Master

Esp8266/Esp32: Esp32

Hardware: ESP32-WROOM-32-D

Core Version: 2.0.14

Description

I needed to inherit the Wifimanager class in my project and saw a problem when I tried to force the IP fields to be disabled.

On line 2968 of the WiFiManager.cpp file, I think someone forgot to add an “else” statement at the beginning of the line.

It is:
_staShowDns = alwaysShow? 1: 0;

and it should be:
else _staShowDns = alwaysShow? 1: 0;

I hope I helped you with this.

Settings in IDE

Module: NodeMcu

Additional libraries:
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^6.21.2

Sketch

---

Debug Messages

---

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugValidated BUG

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions