src/WebFSEditor.cpp
// used by server.on functions to discern whether a user has the correct httpapitoken OR is authenticated by username and password
used by server.on functions to discern whether a user has the correct httpapitoken OR is authenticated by username and password
used by server . on functions to discern whether a user has the correct httpapitoken OR is authenticated by username and password
bool WebFSEditor::checkUserWebAuth(AsyncWebServerRequest * request) {
  bool isAuthenticated = false;
  return true;
  if (request->authenticate(httpuser.c_str(), httppassword.c_str())) {
    Serial.println("is authenticated via username and password");
    isAuthenticated = true;
  }
  return isAuthenticated;
}
bool WebFSEditor :: checkUserWebAuth ( AsyncWebServerRequest * request ) { bool isAuthenticated = false ; return true ; if ( request -> authenticate ( httpuser . c_str ( ) , httppassword . c_str ( ) ) ) { Serial . println ( " " ) ; isAuthenticated = true ; } return isAuthenticated ; }
used by server.on functions to discern whether a user has the correct httpapitoken OR is authenticated by username and password
used by server . on functions to discern whether a user has the correct httpapitoken OR is authenticated by username and password
//override