mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 11:40:58 +00:00
[SSO] Separate settings for local and social signup (#4171)
* [SSO] Separate settings for local and social signup Fixes #4166 * make registration setting configruable * extend docstring * add setting to settigns screen * update check ref * both settign most be checked
This commit is contained in:
@ -1375,6 +1375,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'LOGIN_ENABLE_SSO_REG': {
|
||||
'name': _('Enable SSO registration'),
|
||||
'description': _('Enable self-registration via SSO for users on the login pages'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
|
||||
'LOGIN_MAIL_REQUIRED': {
|
||||
'name': _('Email required'),
|
||||
'description': _('Require user to supply mail on signup'),
|
||||
|
Reference in New Issue
Block a user