From f6648cf1cfc1bb543c7769442b31018ec49c91f0 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Sun, 14 Jul 2002 19:37:13 +0000 Subject: [PATCH] Used wrong environment variable for basic authentication support --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 6cc0fab05b..eaffa41d60 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -24,7 +24,7 @@ sub checkauth { my $query=shift; # $authnotrequired will be set for scripts which will run without authentication my $authnotrequired=shift; - if (my $userid=$ENV{'REMOTE_USERNAME'}) { + if (my $userid=$ENV{'REMOTE_USER'}) { # Using Basic Authentication, no cookies required my $cookie=$query->cookie(-name => 'sessionID', -value => '', -- 2.39.5