]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
If there isn't any authentication configured for the location, then do nothing and...
authorBradley Nicholes <bnicholes@apache.org>
Fri, 30 Dec 2005 00:01:37 +0000 (00:01 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 30 Dec 2005 00:01:37 +0000 (00:01 +0000)
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

index f13904a7193f15fc015574c052a9442ea71dd06e..2541f6b5beb075763d2bcb31cabb43a86284d1a4 100644 (file)
@@ -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 */