mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-15 23:51:20 +10:00
disable captiveportal for webportal
This commit is contained in:
+1
-1
@@ -2422,7 +2422,7 @@ void WiFiManager::handleNotFound() {
|
||||
*/
|
||||
boolean WiFiManager::captivePortal() {
|
||||
|
||||
if(!_enableCaptivePortal) return false; // skip redirections, @todo maybe allow redirection even when no cp ? might be useful
|
||||
if(!_enableCaptivePortal || !configPortalActive) return false; // skip redirections if cp not enabled or not in ap mode
|
||||
|
||||
String serverLoc = toStringIp(server->client().localIP());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user