Merged in feature/PMCORE-3466 (pull request #8327)
PMCORE-3466 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
66916fbbcf
@@ -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);
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ class System
|
||||
'path' => '/',
|
||||
'domain' => '',
|
||||
'secure' => false,
|
||||
'httponly' => false,
|
||||
'httponly' => true,
|
||||
'samesite' => ''
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user