aboutsummaryrefslogtreecommitdiff
path: root/src/common/attributes/useServerAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-05-09 14:51:39 -0700
committerAnton Tananaev <anton@traccar.org>2024-05-09 14:51:39 -0700
commita47064edf0e27d6c1fd3876d1cfd3a6c0188cf3c (patch)
tree9c0a753b136d55f178868a959f8f2e1eb768c0fd /src/common/attributes/useServerAttributes.js
parentc4754d0befac1a0bfb85f56419dade8378b98b32 (diff)
downloadtrackermap-web-a47064edf0e27d6c1fd3876d1cfd3a6c0188cf3c.tar.gz
trackermap-web-a47064edf0e27d6c1fd3876d1cfd3a6c0188cf3c.tar.bz2
trackermap-web-a47064edf0e27d6c1fd3876d1cfd3a6c0188cf3c.zip
Terms and privacy policy support (fix #1052)
Diffstat (limited to 'src/common/attributes/useServerAttributes.js')
-rw-r--r--src/common/attributes/useServerAttributes.js8
1 files changed, 8 insertions, 0 deletions
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',