You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2005/12/30 01:01:39 UTC
svn commit: r359930 -
/httpd/httpd/branches/authz-dev/modules/aaa/mod_authn_default.c
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 */