mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Add logging when bad HTTP userid and/or password
Add logging when bad HTTP userid and/or password (#15420)
This commit is contained in:
parent
30f20a4b84
commit
235b880d59
@ -2901,6 +2901,10 @@ void HandleHttpCommand(void)
|
|||||||
WSContentBegin(401, CT_APP_JSON);
|
WSContentBegin(401, CT_APP_JSON);
|
||||||
WSContentSend_P(PSTR("{\"" D_RSLT_WARNING "\":\"" D_NEED_USER_AND_PASSWORD "\"}"));
|
WSContentSend_P(PSTR("{\"" D_RSLT_WARNING "\":\"" D_NEED_USER_AND_PASSWORD "\"}"));
|
||||||
WSContentEnd();
|
WSContentEnd();
|
||||||
|
|
||||||
|
// https://github.com/arendst/Tasmota/discussions/15420
|
||||||
|
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_HTTP "Bad userid and/or password"));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user