From ae1a6a1487114826da56079db1a073c978c14870 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:51:58 -0600 Subject: [PATCH] give empty array as the default for trusted.url.domains --- dockerbuild/config/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerbuild/config/config.php b/dockerbuild/config/config.php index d807e63..05cc948 100644 --- a/dockerbuild/config/config.php +++ b/dockerbuild/config/config.php @@ -8,8 +8,8 @@ use Sil\PhpEnv\Env; use Sil\PhpEnv\EnvVarNotFoundException; -use SimpleSAML\Utils; use SimpleSAML\Module\material\MaterialController; +use SimpleSAML\Utils; $httpUtils = new Utils\HTTP(); @@ -71,7 +71,7 @@ $PASSWORD_CHANGE_URL = Env::get('PASSWORD_CHANGE_URL'); $PASSWORD_FORGOT_URL = Env::get('PASSWORD_FORGOT_URL'); $HELP_CENTER_URL = Env::get('HELP_CENTER_URL'); -$TRUSTED_URL_DOMAINS = Env::getArray('TRUSTED_URL_DOMAINS', null); +$TRUSTED_URL_DOMAINS = Env::getArray('TRUSTED_URL_DOMAINS', []); $config = [