mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
Move cookie secret to settings. #7
This commit is contained in:
parent
604a294662
commit
c24b6cabc9
@ -298,7 +298,7 @@ def get_application(static_path, is_debug, redis_connection, data_manager):
|
||||
static_path=static_path,
|
||||
debug=is_debug,
|
||||
login_url="/login",
|
||||
cookie_secret="1f7146d871a6a23263089419cc443813",
|
||||
cookie_secret=settings.COOKIE_SECRET,
|
||||
redis_connection=redis_connection,
|
||||
data_manager=data_manager)
|
||||
|
||||
|
@ -20,6 +20,7 @@ ADMINS = []
|
||||
STATIC_ASSETS_PATH = "../rd_ui/dist/"
|
||||
WORKERS_COUNT = 2
|
||||
MAX_CONNECTIONS = 3
|
||||
COOKIE_SECRET = "c292a0a3aa32397cdb050e233733900f"
|
||||
|
||||
# Configuration of the operational database for the Django models
|
||||
django.conf.settings.configure(DATABASES = { 'default': {
|
||||
|
Loading…
Reference in New Issue
Block a user