Fix missing array key in session

This commit is contained in:
Kijin Sung 2023-08-29 23:55:40 +09:00
parent 4af7354bf0
commit a1ce3ccaf2

View file

@ -430,6 +430,10 @@ class Session
// Update the domain initialization timestamp.
$_SESSION['RHYMIX']['domains'][$alt_domain]['started'] = time();
if (!isset($_SESSION['RHYMIX']['domains'][$alt_domain]['trusted']))
{
$_SESSION['RHYMIX']['domains'][$alt_domain]['trusted'] = 0;
}
// Refresh the main session cookie and the autologin key.
if ($refresh_cookie)