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

setting for two mail fields on signup

This commit is contained in:
Matthias
2021-09-07 07:17:00 +02:00
parent 1f03d43b92
commit af286766ea
3 changed files with 36 additions and 1 deletions

View File

@ -858,6 +858,12 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'default': True,
'validator': bool,
},
'LOGIN_SIGNUP_MAIL_TWICE': {
'name': _('Mail twice'),
'description': _('On signup ask users twice for their mail'),
'default': False,
'validator': bool,
},
}
class Meta: