Remove default SECRET_KEY

We should never be using default values for sensitive information
This commit is contained in:
Shane McDonald
2021-02-23 08:46:42 -05:00
parent ec40f62c4d
commit 7394535022

View File

@@ -148,7 +148,7 @@ SCHEDULE_MAX_JOBS = 10
SITE_ID = 1
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'p7z7g1ql4%6+(6nlebb6hdk7sd^&fnjpal308%n%+p^_e6vo1y'
SECRET_KEY = open('/etc/tower/SECRET_KEY', 'rb').read().strip()
# Hosts/domain names that are valid for this site; required if DEBUG is False
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts