mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
Remove default SECRET_KEY
We should never be using default values for sensitive information
This commit is contained in:
@@ -148,7 +148,7 @@ SCHEDULE_MAX_JOBS = 10
|
|||||||
SITE_ID = 1
|
SITE_ID = 1
|
||||||
|
|
||||||
# Make this unique, and don't share it with anybody.
|
# 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
|
# 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
|
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
|
||||||
|
|||||||
Reference in New Issue
Block a user