##// END OF EJS Templates
added httponly and secure cookie into ini files
marcink -
r1714:1308f068 beta
parent child Browse files
Show More
@@ -142,6 +142,9 b' beaker.session.key = rhodecode'
142 142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
143 143 beaker.session.validate_key = 9712sds2212c--zxc123
144 144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145 148
146 149 ##auto save the session to not to use .save()
147 150 beaker.session.auto = False
@@ -142,6 +142,9 b' beaker.session.key = rhodecode'
142 142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
143 143 beaker.session.validate_key = 9712sds2212c--zxc123
144 144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145 148
146 149 ##auto save the session to not to use .save()
147 150 beaker.session.auto = False
@@ -255,4 +258,4 b' datefmt = %Y-%m-%d %H:%M:%S'
255 258 [formatter_color_formatter_sql]
256 259 class=rhodecode.lib.colored_formatter.ColorFormatterSql
257 260 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
258 datefmt = %Y-%m-%d %H:%M:%S No newline at end of file
261 datefmt = %Y-%m-%d %H:%M:%S
@@ -142,13 +142,17 b' beaker.session.key = rhodecode'
142 142 beaker.session.encrypt_key = ${app_instance_secret}
143 143 beaker.session.validate_key = ${app_instance_secret}
144 144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145 148
146 149 ##auto save the session to not to use .save()
147 150 beaker.session.auto = False
148 151
149 152 ##true exire at browser close
150 153 #beaker.session.cookie_expires = 3600
151
154
155
152 156 ################################################################################
153 157 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
154 158 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
General Comments 0
You need to be logged in to leave comments. Login now