From: André Malo Date: Sun, 9 Nov 2003 20:05:06 +0000 (+0000) Subject: re-add explaining comment X-Git-Tag: pre_ajp_proxy~1057 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ef421fa71a486387711107efffa0518986e807;p=thirdparty%2Fapache%2Fhttpd.git re-add explaining comment git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101730 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_authn_anon.c b/modules/aaa/mod_authn_anon.c index c74e0bc473f..d6c40086513 100644 --- a/modules/aaa/mod_authn_anon.c +++ b/modules/aaa/mod_authn_anon.c @@ -218,6 +218,13 @@ static authn_status check_anonymous(request_rec *r, const char *user, } } + /* Now if the supplied user-ID was ok, grant access if: + * (a) no passwd was sent and no password and no verification + * were configured. + * (b) password was sent and no verification was configured + * (c) verification was configured and the password (sent or not) + * looks like an email address + */ if ( (res == AUTH_USER_FOUND) && (!conf->mustemail || *sent_pw) && ( !conf->verifyemail