Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Make SECRET_KEY mandatory.

Zixuan James Lic21ae3646ac8
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.py
index 393bcbe421e..42b7bcedd64 100644
--- a/zproject/computed_settings.py
+++ b/zproject/computed_settings.py
@@ -73,7 +73,7 @@ from .configured_settings import (
########################################################################
# Make this unique, and don't share it with anybody.
-SECRET_KEY = get_secret("secret_key")
+SECRET_KEY = get_mandatory_secret("secret_key")
# A shared secret, used to authenticate different parts of the app to each other.
SHARED_SECRET = get_mandatory_secret("shared_secret")