tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.55k stars 1.97k forks source link

Basic authentication on webpage? #1681

Open jeroenst opened 10 months ago

jeroenst commented 10 months ago

Is it possible to set basic authentication for the webpage?

I want to keep the portal running always but it has to be protected against unwanted visitors.

hurricanefrog commented 9 months ago

Yes, it does. You have to manually adjust the source code, though.

(WiFiManager.cpp, function void WiFiManager::handleRequest(), line 1301 ff.)