From a47064edf0e27d6c1fd3876d1cfd3a6c0188cf3c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 9 May 2024 14:51:39 -0700 Subject: Terms and privacy policy support (fix #1052) --- src/common/attributes/useServerAttributes.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/common/attributes/useServerAttributes.js') diff --git a/src/common/attributes/useServerAttributes.js b/src/common/attributes/useServerAttributes.js index 80ac3c7d..f46f715c 100644 --- a/src/common/attributes/useServerAttributes.js +++ b/src/common/attributes/useServerAttributes.js @@ -39,6 +39,14 @@ export default (t) => useMemo(() => ({ name: t('settingsDarkMode'), type: 'boolean', }, + termsUrl: { + name: t('userTerms'), + type: 'string', + }, + privacyUrl: { + name: t('userPrivacy'), + type: 'string', + }, totpEnable: { name: t('settingsTotpEnable'), type: 'boolean', -- cgit v1.2.3