Skip to content

Commit 3eafa17

Browse files
committed
Debug prints for authentication
1 parent 9b65938 commit 3eafa17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ESPWebServer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ void ESPWebServer::stop() {
5555
}
5656

5757
bool ESPWebServer::authenticate(const char * username, const char * password) {
58-
HTTPS_LOGE("authenticate() not yet implemented");
58+
HTTPS_LOGE("authenticate(%s, %s) not yet implemented", username, password);
5959
return false;
6060
}
6161

6262
void ESPWebServer::requestAuthentication(HTTPAuthMethod mode, const char* realm, const String& authFailMsg) {
6363
if (realm == NULL) realm = "Login Required";
64+
HTTPS_LOGD("requestAuthentication(%s, %s)\n", mode, realm);
6465
if (mode == BASIC_AUTH) {
6566
std::string authArg = "Basic realm=\"";
6667
authArg += realm;

0 commit comments

Comments
 (0)