aboutsummaryrefslogtreecommitdiff
path: root/server_fcgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'server_fcgi.c')
-rw-r--r--server_fcgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server_fcgi.c b/server_fcgi.c
index 7305eb0..8a6f5e6 100644
--- a/server_fcgi.c
+++ b/server_fcgi.c
@@ -259,7 +259,7 @@ server_fcgi(struct httpd *env, struct client *clt)
goto fail;
}
- if (srv_conf->flags & SRVFLAG_AUTH_BASIC) {
+ if (srv_conf->flags & SRVFLAG_AUTH) {
if (fcgi_add_param(&param, "REMOTE_USER",
clt->clt_fcgi_remote_user, clt) == -1) {
errstr = "failed to encode param";