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 ($this->_username) {
|
||||||
if (PHP_VERSION < 5.2) {
|
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 {
|
} else {
|
||||||
setcookie("ZM_SKIN", "plymouth", time() + (60 * 60 * 24 * 30), "/", ".plymouth.edu", false, true);
|
setcookie("ZM_SKIN", "plymouth", time() + (60 * 60 * 24 * 30), "/", ".plymouth.edu", false, true);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class System
|
|||||||
'path' => '/',
|
'path' => '/',
|
||||||
'domain' => '',
|
'domain' => '',
|
||||||
'secure' => false,
|
'secure' => false,
|
||||||
'httponly' => false,
|
'httponly' => true,
|
||||||
'samesite' => ''
|
'samesite' => ''
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user