summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/protocol.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/protocol.c b/server/protocol.c
index a779e1401c..574f0a9855 100644
--- a/server/protocol.c
+++ b/server/protocol.c
@@ -761,9 +761,10 @@ AP_DECLARE(void) ap_note_auth_failure(request_rec *r)
else if (!strcasecmp(type, "Digest"))
ap_note_digest_auth_failure(r);
}
- /* XXX: else there is no AuthType configured
- * should we log an error or something ?
- */
+ else {
+ ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR,
+ 0, r, "need AuthType to note auth failure: %s", r->uri);
+ }
}
AP_DECLARE(void) ap_note_basic_auth_failure(request_rec *r)