Many fixes

New ownCloud package with a built-in webmail
This commit is contained in:
RainLoop Team 2015-02-12 01:39:27 +04:00
parent 323dd34c8b
commit 6116597f6f
56 changed files with 1137 additions and 232 deletions

View file

@ -72,7 +72,7 @@ class Utils
$sToken = \RainLoop\Utils::GetCookie($sKey, null);
if (null === $sToken)
{
$sToken = \md5(\rand(10000, 99999).\microtime(true).APP_SALT);
$sToken = \MailSo\Base\Utils::Md5Rand(APP_SALT);
\RainLoop\Utils::SetCookie($sKey, $sToken, \time() + 60 * 60 * 24 * 30, '/', null, null, true);
}
@ -97,7 +97,7 @@ class Utils
$sToken = \RainLoop\Utils::GetCookie($sKey, null);
if (null === $sToken)
{
$sToken = \md5(\rand(10000, 99999).\microtime(true).APP_SALT);
$sToken = \MailSo\Base\Utils::Md5Rand(APP_SALT);
\RainLoop\Utils::SetCookie($sKey, $sToken, 0, '/', null, null, true);
}