[GH-ISSUE #1295] Typo in OnDemandWebPortal example #1108

Closed
opened 2026-02-28 01:28:33 +03:00 by kerem · 2 comments
Owner

Originally created by @sauvant on GitHub (Sep 27, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1295

in line 44 it should read
wm.stopWebPortal();
instead of
wm.startWebPortal();

Originally created by @sauvant on GitHub (Sep 27, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1295 in line 44 it should read wm.stopWebPortal(); instead of wm.startWebPortal();
kerem 2026-02-28 01:28:33 +03:00
Author
Owner

@ClemensGruber commented on GitHub (Oct 2, 2021):

Btw there is also a typo in the Config version: /examples/OnDemand/OnDemandConfigPortal/OnDemandConfigPortal.ino

In line 28 there is code for resetting settings:

    //reset settings - for testing
    //wifiManager.resetSettings();

but some lines before WiFiManager was initialized by

    WiFiManager wm;   

so wm.resetSettings(); is working.

<!-- gh-comment-id:932644514 --> @ClemensGruber commented on GitHub (Oct 2, 2021): Btw there is also a typo in the Config version: /examples/OnDemand/OnDemandConfigPortal/OnDemandConfigPortal.ino In line 28 there is code for resetting settings: ``` //reset settings - for testing //wifiManager.resetSettings(); ``` but some lines before WiFiManager was initialized by ``` WiFiManager wm; ``` so `wm.resetSettings();` is working.
Author
Owner

@tablatronix commented on GitHub (Oct 2, 2021):

Thanks

<!-- gh-comment-id:932665186 --> @tablatronix commented on GitHub (Oct 2, 2021): Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1108
No description provided.