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

setting to make mail required on signup

This commit is contained in:
Matthias
2021-09-06 22:07:50 +02:00
parent 3963ece6d2
commit a4209d38cc
4 changed files with 32 additions and 1 deletions

View File

@ -846,6 +846,12 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'default': False,
'validator': bool,
},
'LOGIN_MAIL_REQUIRED': {
'name': _('E-Mail required'),
'description': _('Require user to supply mail on signup'),
'default': False,
'validator': bool,
},
}
class Meta: