remove fake endpoint
This commit is contained in:
parent
6f74811f39
commit
4d69b84bf2
1 changed files with 0 additions and 9 deletions
|
@ -29,15 +29,6 @@ class MainWebServerClass{
|
|||
_password = "";
|
||||
}
|
||||
|
||||
_server->on("/test/identity", HTTP_GET, [&](AsyncWebServerRequest *request){
|
||||
if(_authRequired){
|
||||
if(!request->authenticate(_username.c_str(), _password.c_str())){
|
||||
return request->requestAuthentication();
|
||||
}
|
||||
}
|
||||
request->send(200, "application/json");
|
||||
});
|
||||
|
||||
_server->on("/", HTTP_GET, [&](AsyncWebServerRequest *request){
|
||||
if(_authRequired){
|
||||
if(!request->authenticate(_username.c_str(), _password.c_str())){
|
||||
|
|
Loading…
Reference in a new issue