diff --git a/src/login/i18n/i18n.tsx b/src/login/i18n/i18n.tsx index 5542098d..05c9b109 100644 --- a/src/login/i18n/i18n.tsx +++ b/src/login/i18n/i18n.tsx @@ -204,7 +204,7 @@ function createI18nTranslationFunctionsFactory { const messageOrUndefined = (messages_currentLanguage as any)[key] ?? (messages_fallbackLanguage as any)[key]; - if (key === "termsText") { + if (key === "termsText" && realmMessageBundleTermsText !== undefined) { return realmMessageBundleTermsText; }