setting to enable signup

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

No files matched your search

+6
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: