SIGNUPS_ENABLED -> ACCOUNT_SIGNUPS_ENABLED in docs (#51)

This commit is contained in:
Alexandre Bulté 2020-06-18 21:15:10 +02:00 committed by GitHub
parent affcb893fa
commit c9b5a677d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -23,7 +23,7 @@ DJANGO_SECRET_KEY=random_string
ALLOWED_HOSTS=* ALLOWED_HOSTS=*
# Set to True (capitalized) if you want people to be able to sign up for your Shynet instance (not recommended) # Set to True (capitalized) if you want people to be able to sign up for your Shynet instance (not recommended)
SIGNUPS_ENABLED=False ACCOUNT_SIGNUPS_ENABLED=False
# Should user email addresses be verified? Only set this to `required` if you've setup the email settings and allow # Should user email addresses be verified? Only set this to `required` if you've setup the email settings and allow
# public sign-ups; otherwise, it's unnecessary. # public sign-ups; otherwise, it's unnecessary.
@ -59,8 +59,8 @@ PORT=8080
# Don't uncomment these unless you know what you are doing! # Don't uncomment these unless you know what you are doing!
# NUM_WORKERS=1 # NUM_WORKERS=1
# Make sure you set a REDIS_CACHE_LOCATION if you have more than one frontend worker/instance. # Make sure you set a REDIS_CACHE_LOCATION if you have more than one frontend worker/instance.
# REDIS_CACHE_LOCATION=redis://redis.default.svc.cluster.local/0 # REDIS_CACHE_LOCATION=redis://redis.default.svc.cluster.local/0
# If CELERY_BROKER_URL is set, make sure CELERY_TASK_ALWAYS_EAGER is False and # If CELERY_BROKER_URL is set, make sure CELERY_TASK_ALWAYS_EAGER is False and
# that you have a separate queue consumer running somewhere via `celeryworker.sh`. # that you have a separate queue consumer running somewhere via `celeryworker.sh`.
# CELERY_TASK_ALWAYS_EAGER=False # CELERY_TASK_ALWAYS_EAGER=False
# CELERY_BROKER_URL=redis://redis.default.svc.cluster.local/1 # CELERY_BROKER_URL=redis://redis.default.svc.cluster.local/1

View File

@ -83,7 +83,7 @@
"value": "*", "value": "*",
"required": false "required": false
}, },
"SIGNUPS_ENABLED": { "ACCOUNT_SIGNUPS_ENABLED": {
"description": "Set to True (capitalized) if you want people to be able to sign up for your Shynet instance (not recommended).", "description": "Set to True (capitalized) if you want people to be able to sign up for your Shynet instance (not recommended).",
"value": "False", "value": "False",
"required": false "required": false
@ -119,4 +119,4 @@
"required": false "required": false
} }
} }
} }

View File

@ -8,7 +8,7 @@ stringData:
DEBUG: "False" DEBUG: "False"
ALLOWED_HOSTS: "*" # For better security, set this to your deployment's domain. Comma separated. ALLOWED_HOSTS: "*" # For better security, set this to your deployment's domain. Comma separated.
DJANGO_SECRET_KEY: "" DJANGO_SECRET_KEY: ""
SIGNUPS_ENABLED: "False" ACCOUNT_SIGNUPS_ENABLED: "False"
TIME_ZONE: "America/New_York" TIME_ZONE: "America/New_York"
# Redis configuration (if you use the default Kubernetes config, this will work) # Redis configuration (if you use the default Kubernetes config, this will work)