diff --git a/rd_service/server.py b/rd_service/server.py index bf2cd53287..39f84a880b 100644 --- a/rd_service/server.py +++ b/rd_service/server.py @@ -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) diff --git a/rd_service/settings_example.py b/rd_service/settings_example.py index 149366dbea..da2e354094 100644 --- a/rd_service/settings_example.py +++ b/rd_service/settings_example.py @@ -20,6 +20,7 @@ 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': {