formatting fix

This commit is contained in:
David Goodwin committed 2025-02-21 12:56:10 +00:00
1 parent e3162d3494
commit 41f0eb435e
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ if (!defined('POSTFIXADMIN')) { # already defined if called from setup.php
$cookie_params['samesite'] = 'Strict';
$cookie_params['httponly'] = true;
// Is this worthwhile? a non https request will get a non 'secure' cookie.
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
$cookie_params['secure'] = true;
}
session_set_cookie_params($cookie_params);