From 131d9ac22dc2da2d10d954e84f84555cd2434b0a Mon Sep 17 00:00:00 2001 From: John Livingston Date: Thu, 18 Apr 2024 15:46:38 +0200 Subject: [PATCH] Fix. --- server/lib/conversejs/params.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/conversejs/params.ts b/server/lib/conversejs/params.ts index 9efd6f5b..f25335a2 100644 --- a/server/lib/conversejs/params.ts +++ b/server/lib/conversejs/params.ts @@ -79,7 +79,7 @@ async function getConverseJSParams ( let externalAuthOIDC if (userIsConnected !== true) { - if (!remoteConnectionInfos?.externalAuthCompatible) { + if (remoteConnectionInfos && !remoteConnectionInfos.externalAuthCompatible) { options.peertubeHelpers.logger.debug( 'The remote livechat plugin is not compatible with external authentication, not enabling the feature' )