From e3b54e23e804e4a889bb40baf62455499538a04f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 14 Apr 2021 13:56:48 +0200 Subject: [PATCH] also send WWW-Authenticate header so UA can ask user --- calendar/freebusy.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/freebusy.php b/calendar/freebusy.php index 65f8f1533f..e20c3d63ca 100644 --- a/calendar/freebusy.php +++ b/calendar/freebusy.php @@ -50,6 +50,7 @@ function fail_exit($msg) echo "\n\n$msg\n\n\n

$msg

\n\n\n"; + header('WWW-Authenticate: Basic realm="'.($GLOBALS['egw_info']['flags']['auth_realm'] ?: 'EGroupware').'"'); http_response_code(401); exit; }