mirror of https://github.com/zulip/zulip.git
Additional defaults for dev.
(imported from commit 1b4bd71ff4ed27a83a24e58e797d900a7869c72d)
This commit is contained in:
parent
494d02cc35
commit
48f1a84d6e
|
@ -21,7 +21,7 @@ TESTING_DEPLOYED = DEPLOYED and config_file.get('machine', 'deploy_type') == 'te
|
||||||
ENTERPRISE = DEPLOYED and config_file.get('machine', 'deploy_type') == 'enterprise'
|
ENTERPRISE = DEPLOYED and config_file.get('machine', 'deploy_type') == 'enterprise'
|
||||||
|
|
||||||
# Make this unique, and don't share it with anybody.
|
# Make this unique, and don't share it with anybody.
|
||||||
SECRET_KEY = getsecret("secret_key")
|
SECRET_KEY = getsecret("secret_key") if DEPLOYED else "foobar"
|
||||||
|
|
||||||
# Use this salt to hash a user's email into a filename for their user-uploaded
|
# Use this salt to hash a user's email into a filename for their user-uploaded
|
||||||
# avatar. If this salt is discovered, attackers will only be able to determine
|
# avatar. If this salt is discovered, attackers will only be able to determine
|
||||||
|
|
Loading…
Reference in New Issue