Permalink
Browse files

[fix bug 854165] Clean up some settings.

  • Loading branch information...
1 parent 6cc467e commit 85212d98b739f06dc1978a3f7683d87b206d5bdd @jsocol jsocol committed Mar 25, 2013
Showing with 1 addition and 20 deletions.
  1. +1 −20 settings.py
View
21 settings.py
@@ -356,10 +356,8 @@ def lazy_language_deki_map():
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'sumo.anonymous.AnonymousIdentityMiddleware',
- #'twitter.middleware.SessionMiddleware',
'sumo.middleware.PlusToSpaceMiddleware',
'commonware.middleware.HidePasswordOnException',
- #'dekicompat.middleware.DekiUserMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django_statsd.middleware.GraphiteRequestTimingMiddleware',
'django_statsd.middleware.GraphiteMiddleware',
@@ -433,29 +431,15 @@ def lazy_language_deki_map():
# SUMO
'users',
ROOT_PACKAGE,
- #'authority',
- #'timezones',
- #'access',
- #'sumo',
# TODO: Reenable search when we switch to kuma wiki - or, at least waffle it.
'search',
- #'forums',
'djcelery',
'notifications',
- #'questions',
- #'kadmin',
'taggit',
- #'flagit',
- #'upload',
'wiki',
- #'kbforums',
'dashboards',
'kpi',
'gallery',
- #'customercare',
- #'twitter',
- #'chat',
- #'inproduct',
# migrations
'south',
@@ -659,12 +643,8 @@ def JINJA_CONFIG():
'common': (
'js/libs/jquery.min.js',
'js/libs/modernizr-1.6.min.js',
- #'js/kbox.js',
- #'global/menu.js',
- #'js/main.js',
),
'libs/jqueryui': (
- #'js/libs/jqueryui.min.js',
'js/libs/jquery-ui-1.8.14.custom.min.js',
),
'libs/tagit': (
@@ -729,6 +709,7 @@ def JINJA_CONFIG():
#
# Session cookies
SESSION_COOKIE_SECURE = True
+SESSION_COOKIE_HTTPONLY = True
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
# Cookie prefix from PHPBB settings.

0 comments on commit 85212d9

Please sign in to comment.