diff --git a/scripts/common.php b/scripts/common.php index 5ce1c6a..26f92c5 100644 --- a/scripts/common.php +++ b/scripts/common.php @@ -66,7 +66,7 @@ function get_service_mount_name() { function is_authenticated() { $ret = false; - if (isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['PHP_AUTH_PW'])) { + if (isset($_SERVER['PHP_AUTH_USER'])) { $config = get_config(); $ret = ($_SERVER['PHP_AUTH_PW'] == $config['CADDY_PWD'] && $_SERVER['PHP_AUTH_USER'] == 'birdnet'); }