Skip to content

Commit

Permalink
set trusted.url.domains using an environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jul 16, 2024
1 parent 3844ebe commit 9e6a66e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerbuild/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +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);

$config = [

Expand Down Expand Up @@ -323,7 +324,7 @@
* Example:
* 'trusted.url.domains' => ['sp.example.com', 'app.example.com'],
*/
'trusted.url.domains' => null,
'trusted.url.domains' => $TRUSTED_URL_DOMAINS,

/*
* Enable regular expression matching of trusted.url.domains.
Expand Down

0 comments on commit 9e6a66e

Please sign in to comment.