mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1241] WiFiManager.cpp:1182:35: error: 'HTTPAuthMethod' has not been declared #1061
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1061
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @f4ni on GitHub (Apr 13, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1241
Hello everyone,
I tried an example of WiFiManager Library on my NodeMCU, but i got following errors:
In file included from C:\USER\arduino-1.8.13\libraries\WiFiManager-master\WiFiManager.cpp:13:0:
C:\USER\arduino-1.8.13\libraries\WiFiManager-master\WiFiManager.h:34:2: warning: #warning "ARDUINO_ESP8266_RELEASE_2_3_0, some WM features disabled" [-Wcpp]
#warning "ARDUINO_ESP8266_RELEASE_2_3_0, some WM features disabled"
^
C:\USER\arduino-1.8.13\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'void WiFiManager::handleRequest()':
C:\USER\arduino-1.8.13\libraries\WiFiManager-master\WiFiManager.cpp:1182:35: error: 'HTTPAuthMethod' has not been declared
server->requestAuthentication(HTTPAuthMethod::BASIC_AUTH); // DIGEST_AUTH
^
C:\USER\arduino-1.8.13\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'String WiFiManager::getInfoData(String)':
C:\USER\arduino-1.8.13\libraries\WiFiManager-master\WiFiManager.cpp:2028:44: error: 'class ESP8266WiFiClass' has no member named 'softAPSSID'
p.replace(FPSTR(T_1),htmlEntities(WiFi.softAPSSID()));
Kindly help me solving this problem.
Thanks.
@tablatronix commented on GitHub (Apr 13, 2021):
ok let me look, you are clearly using a very old version of the esp lib, are you stuck on that?
@f4ni commented on GitHub (Apr 13, 2021):
Yeah, i updated and everything works fine now.
Thanks for your reply.
@tablatronix commented on GitHub (Apr 13, 2021):
I added a fix that might prevent this
@eyyit commented on GitHub (Aug 9, 2024):
It looks like code was added to enable authentication then was bypassed. What is the status with authentication? I'd like to protect the
/paramsand/updatepages.@tablatronix commented on GitHub (Aug 10, 2024):
I think the only issue was that it doesnt work in captive portal browsers, So instead of trying to restrict this, we would benefit more from html auth instead of messing with this anymore
#1669