From 15f955b755de41c03b69add06087bc60b0deadcc Mon Sep 17 00:00:00 2001 From: tuutti Date: Tue, 10 Oct 2023 11:42:09 +0300 Subject: [PATCH] UHF-9125: Fix artemis login credential default value --- public/sites/default/settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/sites/default/settings.php b/public/sites/default/settings.php index ae697258e..a8a07c934 100644 --- a/public/sites/default/settings.php +++ b/public/sites/default/settings.php @@ -250,8 +250,8 @@ function drupal_get_env(string|array $variables) : mixed { if ($artemis_brokers && $artemis_destination) { $settings['stomp']['default'] = [ 'clientId' => getenv('ARTEMIS_CLIENT_ID') ?: 'artemis', - 'login' => getenv('ARTEMIS_LOGIN'), - 'passcode' => getenv('ARTEMIS_PASSCODE'), + 'login' => getenv('ARTEMIS_LOGIN') ?: NULL, + 'passcode' => getenv('ARTEMIS_PASSCODE') ?: NULL, 'destination' => sprintf('/queue/%s', $artemis_destination), 'brokers' => $artemis_brokers, 'timeout' => ['read' => 15000],