View | Details | Raw Unified | Return to bug 51242
Collapse All | Expand All

(-)management/univention-management-console/debian/univention-management-console-web-server.univention-config-registry-variables (+7 lines)
 Lines 23-28   Type=bool Link Here 
23
Categories=management-umc
23
Categories=management-umc
24
Default=false
24
Default=false
25
25
26
[umc/http/enforce-secure-cookie]
27
Description[de]=Wenn gesetzt, werden Cookies mit dem Secure-Attribut gesetzt, wenn die Verbindung über HTTPS erfolgt.
28
Description[en]=If set, cookies are set with the secure attribute if the connection is using HTTPS.
29
Type=bool
30
Categories=management-umc
31
Default=false
32
26
[umc/http/session/timeout]
33
[umc/http/session/timeout]
27
Description[de]=Nach diesem Zeitraum in Sekunden wird die Browser-Sitzung automatisch geschlossen und eine Neuanmeldung ist notwendig. Ist die Variable nicht gesetzt, gilt 300, also fünf Minuten.
34
Description[de]=Nach diesem Zeitraum in Sekunden wird die Browser-Sitzung automatisch geschlossen und eine Neuanmeldung ist notwendig. Ist die Variable nicht gesetzt, gilt 300, also fünf Minuten.
28
Description[en]=After this time period in seconds the browser session is automatically closed and a renewed login is required. If the variable is unset, 300 applies (i.e. five minutes).
35
Description[en]=After this time period in seconds the browser session is automatically closed and a renewed login is required. If the variable is unset, 300 applies (i.e. five minutes).
(-)management/univention-management-console/univention-management-console-web-server (+2 lines)
 Lines 720-725   class Ressource(object): Link Here 
720
				cookie[name]['expires'] = expires.strftime("%a, %d-%b-%Y %H:%M:%S GMT")
720
				cookie[name]['expires'] = expires.strftime("%a, %d-%b-%Y %H:%M:%S GMT")
721
			cookie[name]['version'] = 1
721
			cookie[name]['version'] = 1
722
			cookie[name]['path'] = '/univention/'
722
			cookie[name]['path'] = '/univention/'
723
			if cherrypy.request.scheme == 'https' and ucr.is_true('umc/http/enforce-secure-cookie'):
724
				cookie[name]['secure'] = True
723
725
724
	def get_cookie(self, name):
726
	def get_cookie(self, name):
725
		cookie = cherrypy.request.cookie.get
727
		cookie = cherrypy.request.cookie.get

Return to bug 51242