Merge pull request #366 from mattt416/issue_362

Change value of SECRET_KEY
This commit is contained in:
Kevin Carter 2014-10-23 12:59:54 -05:00
commit eee8b0dcad
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ install_lib_dir: /usr/local/lib/python2.7/dist-packages
container_directories:
- "/etc/horizon"
- "/var/lib/horizon"
horizon_fqdn: "{{ external_vip_address }}"
horizon_server_name: "{{ container_name }}"

View File

@ -95,7 +95,7 @@ LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
# requests routed to the same dashboard instance or you set the same SECRET_KEY
# for all of them.
from horizon.utils import secret_key
SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH, '.secret_key_store'))
SECRET_KEY = secret_key.generate_or_read_from_file('/var/lib/horizon/.secret_key_store')
# We recommend you use memcached for development; otherwise after every reload
# of the django development server, you will have to login again. To use