Lines 150-159
Link Here
|
150 |
u_char line[NGX_HTTP_AUTH_DIGEST_BUF_SIZE]; |
150 |
u_char line[NGX_HTTP_AUTH_DIGEST_BUF_SIZE]; |
151 |
u_char *p; |
151 |
u_char *p; |
152 |
|
152 |
|
153 |
if (r->internal) { |
|
|
154 |
return NGX_DECLINED; |
155 |
} |
156 |
|
157 |
// if digest auth is disabled for this location, bail out immediately |
153 |
// if digest auth is disabled for this location, bail out immediately |
158 |
alcf = ngx_http_get_module_loc_conf(r, ngx_http_auth_digest_module); |
154 |
alcf = ngx_http_get_module_loc_conf(r, ngx_http_auth_digest_module); |
159 |
if (alcf->realm.len == 0 || alcf->user_file.value.len == 0) { |
155 |
if (alcf->realm.len == 0 || alcf->user_file.value.len == 0) { |