Add a feature flag to disable user creation
This commit is contained in:
parent
5c18ffe67d
commit
c682899861
7 changed files with 22 additions and 6 deletions
|
@ -165,6 +165,9 @@ class DefaultConfig(object):
|
|||
# Feature Flag: Whether emails are enabled.
|
||||
FEATURE_MAILING = True
|
||||
|
||||
# Feature Flag: Whether users can be created (by non-super users).
|
||||
FEATURE_USER_CREATION = True
|
||||
|
||||
DISTRIBUTED_STORAGE_CONFIG = {
|
||||
'local_eu': ['LocalStorage', {'storage_path': 'test/data/registry/eu'}],
|
||||
'local_us': ['LocalStorage', {'storage_path': 'test/data/registry/us'}],
|
||||
|
|
Reference in a new issue