X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/c461ee8ac1d30075d427b1daaaae2f05595a80db..a50a0e0b31e566d6902881c15c899800d04ec04e:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 74de73833..4febdc72a 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -607,9 +607,10 @@ sub create_http_response { my $session_cookie_value = $main::auth->get_session_id(); $session_cookie_value ||= 'NO_SESSION'; - $session_cookie = $cgi->cookie('-name' => $main::auth->get_session_cookie_name(), - '-value' => $session_cookie_value, - '-path' => $base_path); + $session_cookie = $cgi->cookie('-name' => $main::auth->get_session_cookie_name(), + '-value' => $session_cookie_value, + '-path' => $base_path, + '-secure' => $ENV{HTTPS}); } my %cgi_params = ('-type' => $params{content_type});