diff production.ini @ 1714:1308f068fc1a beta

added httponly and secure cookie into ini files
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 23 Nov 2011 16:37:50 +0200
parents 79a06e68a035
children 7ff304d3028f
line wrap: on
line diff
--- a/production.ini	Wed Nov 23 15:36:57 2011 +0200
+++ b/production.ini	Wed Nov 23 16:37:50 2011 +0200
@@ -142,6 +142,9 @@
 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
 beaker.session.validate_key = 9712sds2212c--zxc123
 beaker.session.timeout = 36000
+beaker.session.httponly = true
+# uncomment for https secure cookie
+beaker.session.secure = false
 
 ##auto save the session to not to use .save()
 beaker.session.auto = False
@@ -255,4 +258,4 @@
 [formatter_color_formatter_sql]
 class=rhodecode.lib.colored_formatter.ColorFormatterSql
 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
-datefmt = %Y-%m-%d %H:%M:%S
\ No newline at end of file
+datefmt = %Y-%m-%d %H:%M:%S