From: Bradley Nicholes Date: Fri, 30 Dec 2005 00:01:37 +0000 (+0000) Subject: If there isn't any authentication configured for the location, then do nothing and... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ae507d9dab23d003acbef1eea1a6fc9f50c1fc;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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 */