Skip to content

Commit

Permalink
Move cookie secret to settings. #7
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr committed Oct 28, 2013
1 parent bd1d287 commit fa96c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rd_service/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions rd_service/settings_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down

0 comments on commit fa96c94

Please sign in to comment.