BasicAuth: Added logging for failed logging attemps
This commit is contained in:
parent
84285b640d
commit
2515f5232b
@ -1688,6 +1688,8 @@ void handle_connection (struct conn_s *connptr, union sockaddr_union* addr)
|
|||||||
if(failure) {
|
if(failure) {
|
||||||
e401:
|
e401:
|
||||||
update_stats (STAT_DENIED);
|
update_stats (STAT_DENIED);
|
||||||
|
log_message(LOG_INFO,
|
||||||
|
"Failed auth attempt from ip %s", connptr->client_ip_addr);
|
||||||
indicate_http_error (connptr, 401, "Unauthorized",
|
indicate_http_error (connptr, 401, "Unauthorized",
|
||||||
"detail",
|
"detail",
|
||||||
"The administrator of this proxy has not configured "
|
"The administrator of this proxy has not configured "
|
||||||
|
Loading…
Reference in New Issue
Block a user