ship settings to disable registration
(they were previously in settings.json)
This commit is contained in:
parent
7278ed42f3
commit
739e0dae61
|
@ -1,2 +1,12 @@
|
|||
# disable local registration
|
||||
REGISTRATION_OPEN = False
|
||||
A2_EMAIL_IS_UNIQUE = False
|
||||
A2_AUTH_PASSWORD_ENABLE = True
|
||||
A2_REGISTRATION_CAN_CHANGE_PASSWORD = True
|
||||
A2_PROFILE_CAN_CHANGE_EMAIL = False
|
||||
A2_PROFILE_CAN_EDIT_PROFILE = False
|
||||
A2_CAN_RESET_PASSWORD = None
|
||||
A2_REGISTRATION_CAN_DELETE_ACCOUNT = False
|
||||
|
||||
# set session age to the CUT "remember me" value
|
||||
SESSION_COOKIE_AGE = 3600 * 24 * 30
|
||||
|
|
Reference in New Issue