From e6423e215ca33695d93dcae2a9151b064052f145 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 1 May 2017 19:27:04 -0400 Subject: Bug 1312735 - allow http auth delegation callbacks based on environmental variable --- heartbeat.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'heartbeat.cgi') diff --git a/heartbeat.cgi b/heartbeat.cgi index 47f3d59a2..e26dfe6ba 100644 --- a/heartbeat.cgi +++ b/heartbeat.cgi @@ -29,6 +29,7 @@ my $ok = eval { die "database not available" unless $database_ok; die "memcached server(s) not available" unless $memcached_ok; die "mod_perl not configured?" unless $ENV{MOD_PERL}; + die "BUGZILLA_UNSAFE_AUTH_DELEGATION" if $ENV{BUGZILLA_UNSAFE_AUTH_DELEGATION}; 1; }; warn "heartbeat error: $@" if !$ok && $@; -- cgit v1.2.3-24-g4f1b