mirror of
https://github.com/ansible/awx.git
synced 2026-04-08 03:29:21 -02:30
Fix an issue where we ignored the secret key during install
This commit is contained in:
@@ -6,7 +6,7 @@ import os
|
||||
def get_secret():
|
||||
if os.path.exists("/etc/tower/SECRET_KEY"):
|
||||
return file('/etc/tower/SECRET_KEY', 'rb').read().strip()
|
||||
return os.getenv("SECRET_KEY", "privateawx"),
|
||||
return os.getenv("SECRET_KEY", "privateawx")
|
||||
|
||||
|
||||
ADMINS = ()
|
||||
|
||||
Reference in New Issue
Block a user