aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authore-macgregor <122734173+e-macgregor@users.noreply.github.com>2023-10-29 17:32:50 -0600
committere-macgregor <122734173+e-macgregor@users.noreply.github.com>2023-10-29 17:32:50 -0600
commit39fad06c660518c5f308ee5b14a5111f4bcbcd31 (patch)
tree1c9ce97a49f73b8650402827f5e37a62d0b4fb5b /modern/src/common
parent242c434c90c33b792ffb5b1898d9d48ad29c9792 (diff)
downloadtrackermap-web-39fad06c660518c5f308ee5b14a5111f4bcbcd31.tar.gz
trackermap-web-39fad06c660518c5f308ee5b14a5111f4bcbcd31.tar.bz2
trackermap-web-39fad06c660518c5f308ee5b14a5111f4bcbcd31.zip
totp
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/attributes/useServerAttributes.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useServerAttributes.js b/modern/src/common/attributes/useServerAttributes.js
index 5cce479e..4339840e 100644
--- a/modern/src/common/attributes/useServerAttributes.js
+++ b/modern/src/common/attributes/useServerAttributes.js
@@ -35,6 +35,14 @@ export default (t) => useMemo(() => ({
name: t('settingsDarkMode'),
type: 'boolean',
},
+ totpEnable: {
+ name: t('settingsTotpEnable'),
+ type: 'boolean',
+ },
+ totpForce: {
+ name: t('settingsTotpForce'),
+ type: 'boolean',
+ },
'ui.disableLoginLanguage': {
name: t('attributeUiDisableLoginLanguage'),
type: 'boolean',