From: Bryan Mason Date: Wed, 22 Sep 2021 18:20:16 +0000 (-0700) Subject: cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given X-Git-Tag: v2.4b1~21^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf76025a03988cd81a87969f0a5db42e86f6f43;p=thirdparty%2Fcups.git cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given --- diff --git a/cgi-bin/ipp-var.c b/cgi-bin/ipp-var.c index 443f920a5a..96ec2c5543 100644 --- a/cgi-bin/ipp-var.c +++ b/cgi-bin/ipp-var.c @@ -272,8 +272,7 @@ cgiMoveJobs(http_t *http, /* I - Connection to server */ if ((user = getenv("REMOTE_USER")) == NULL) { - puts("Status: 401\n"); - exit(0); + user = "guest"; } /*