Merged in feature/PMCORE-3466 (pull request #8327)

PMCORE-3466

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Fabio Guachalla
2021-12-21 20:05:58 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ class Zimbra
{
if ($this->_username) {
if (PHP_VERSION < 5.2) {
setcookie("ZM_SKIN", "plymouth", time() + (60 * 60 * 24 * 30), "/", ".plymouth.edu");
setcookie("ZM_SKIN", "plymouth", time() + (60 * 60 * 24 * 30), "/", ".plymouth.edu", "; HttpOnly");
} else {
setcookie("ZM_SKIN", "plymouth", time() + (60 * 60 * 24 * 30), "/", ".plymouth.edu", false, true);
}

View File

@@ -94,7 +94,7 @@ class System
'path' => '/',
'domain' => '',
'secure' => false,
'httponly' => false,
'httponly' => true,
'samesite' => ''
];