##// 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 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
143 beaker.session.validate_key = 9712sds2212c--zxc123
143 beaker.session.validate_key = 9712sds2212c--zxc123
144 beaker.session.timeout = 36000
144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145
148
146 ##auto save the session to not to use .save()
149 ##auto save the session to not to use .save()
147 beaker.session.auto = False
150 beaker.session.auto = False
@@ -142,6 +142,9 b' beaker.session.key = rhodecode'
142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
142 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
143 beaker.session.validate_key = 9712sds2212c--zxc123
143 beaker.session.validate_key = 9712sds2212c--zxc123
144 beaker.session.timeout = 36000
144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145
148
146 ##auto save the session to not to use .save()
149 ##auto save the session to not to use .save()
147 beaker.session.auto = False
150 beaker.session.auto = False
@@ -255,4 +258,4 b' datefmt = %Y-%m-%d %H:%M:%S'
255 [formatter_color_formatter_sql]
258 [formatter_color_formatter_sql]
256 class=rhodecode.lib.colored_formatter.ColorFormatterSql
259 class=rhodecode.lib.colored_formatter.ColorFormatterSql
257 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
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,6 +142,9 b' beaker.session.key = rhodecode'
142 beaker.session.encrypt_key = ${app_instance_secret}
142 beaker.session.encrypt_key = ${app_instance_secret}
143 beaker.session.validate_key = ${app_instance_secret}
143 beaker.session.validate_key = ${app_instance_secret}
144 beaker.session.timeout = 36000
144 beaker.session.timeout = 36000
145 beaker.session.httponly = true
146 # uncomment for https secure cookie
147 beaker.session.secure = false
145
148
146 ##auto save the session to not to use .save()
149 ##auto save the session to not to use .save()
147 beaker.session.auto = False
150 beaker.session.auto = False
@@ -149,6 +152,7 b' beaker.session.auto = False'
149 ##true exire at browser close
152 ##true exire at browser close
150 #beaker.session.cookie_expires = 3600
153 #beaker.session.cookie_expires = 3600
151
154
155
152 ################################################################################
156 ################################################################################
153 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
157 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
154 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
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