2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

setting for two password fields on signup

This commit is contained in:
Matthias
2021-09-07 07:37:28 +02:00
parent af286766ea
commit 53de59f84b
4 changed files with 13 additions and 3 deletions

View File

@ -864,6 +864,12 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'default': False,
'validator': bool,
},
'LOGIN_SIGNUP_PWD_TWICE': {
'name': _('Password twice'),
'description': _('On signup ask users twice for their password'),
'default': True,
'validator': bool,
},
}
class Meta: