2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

added setting to anable MFA

This commit is contained in:
Matthias
2021-11-01 00:34:00 +01:00
parent a8e18a7972
commit 9d68d6bdca
3 changed files with 9 additions and 1 deletions

View File

@ -853,6 +853,12 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'default': '',
'choices': settings_group_options
},
'LOGIN_ENFORCE_MFA': {
'name': _('Enforce MFA'),
'description': _('Users must use multifaktor security.'),
'default': False,
'validator': bool,
},
}
class Meta: