mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
Additional defaults for dev.
(imported from commit 1b4bd71ff4ed27a83a24e58e797d900a7869c72d)
This commit is contained in:
@@ -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'
|
||||
|
||||
# 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
|
||||
# avatar. If this salt is discovered, attackers will only be able to determine
|
||||
|
||||
Reference in New Issue
Block a user