]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
re-add explaining comment
authorAndré Malo <nd@apache.org>
Sun, 9 Nov 2003 20:05:06 +0000 (20:05 +0000)
committerAndré Malo <nd@apache.org>
Sun, 9 Nov 2003 20:05:06 +0000 (20:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101730 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authn_anon.c

index c74e0bc473f2aaf1c0c57be2032046751aa6f0e7..d6c400865131022e4a4ff2a384ba8fb12bb0946a 100644 (file)
@@ -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