Commit 90638f87 authored by Bradley Nicholes's avatar Bradley Nicholes
Browse files

If there isn't any authentication configured for the location, then do nothing and return OK

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@359930 13f79535-47bb-0310-9956-ffa450edef68
parent 684b7595
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 */