From c4ae507d9dab23d003acbef1eea1a6fc9f50c1fc Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Fri, 30 Dec 2005 00:01:37 +0000 Subject: [PATCH] If there isn't any authentication configured for the location, then do nothing and return OK git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359930 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_authn_default.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/aaa/mod_authn_default.c b/modules/aaa/mod_authn_default.c index f13904a7193..2541f6b5beb 100644 --- a/modules/aaa/mod_authn_default.c +++ b/modules/aaa/mod_authn_default.c @@ -59,8 +59,10 @@ static int authenticate_no_user(request_rec *r) const char *type; + /* if there isn't an auth_type, then assume that no authentication + is require so return OK */ if (!(type = ap_auth_type(r))) { - return DECLINED; + return OK; } /* fill in the r->user field */ -- 2.47.2