httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r359930 - /httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_default.c
Date Fri, 30 Dec 2005 00:01:39 GMT
Author: bnicholes
Date: Thu Dec 29 16:01:37 2005
New Revision: 359930

URL: http://svn.apache.org/viewcvs?rev=359930&view=rev
Log:
If there isn't any authentication configured for the location, then do nothing and return
OK

Modified:
    httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_default.c

Modified: httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_default.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_default.c?rev=359930&r1=359929&r2=359930&view=diff
==============================================================================
--- httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_default.c (original)
+++ httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_default.c Thu Dec 29 16:01:37 2005
@@ -59,8 +59,10 @@
 
     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 */



Mime
View raw message