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

setting to enable signup

This commit is contained in:
Matthias
2021-09-05 20:17:49 +02:00
parent 7fa87edda7
commit 34a15ff51f
3 changed files with 19 additions and 1 deletions

View File

@ -834,6 +834,12 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'default': True,
'validator': bool,
},
'LOGIN_ENABLE_REG': {
'name': _('Enable registration'),
'description': _('Enable self-registration for users on the login-pages'),
'default': False,
'validator': bool,
},
}
class Meta: