diff options
author | Anton Tananaev <anton@traccar.org> | 2024-05-09 14:51:39 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-05-09 14:51:39 -0700 |
commit | a47064edf0e27d6c1fd3876d1cfd3a6c0188cf3c (patch) | |
tree | 9c0a753b136d55f178868a959f8f2e1eb768c0fd /src/common/attributes/useServerAttributes.js | |
parent | c4754d0befac1a0bfb85f56419dade8378b98b32 (diff) | |
download | trackermap-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.js | 8 |
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', |