This commit is contained in:
djmaze 2021-12-22 20:30:02 +01:00
parent 53f4019f5e
commit cb848422b2

View file

@ -65,16 +65,18 @@ abstract class Upgrade
}
$sHash = $oMainAccount->CryptKey();
foreach ($aAccounts as $sEmail => $sToken) {
if ($oMainAccount->Email() == $sEmail) {
continue;
}
try {
$aNewAccounts[$sEmail] = [
'account',
$sEmail,
$sEmail,
'',
'',
'',
'',
$oMainAccount->Email(),
$sEmail, // sLogin
'', // sPassword
'', // sClientCert
'', // sProxyAuthUser
'', // sProxyAuthPassword
\hash_hmac('sha1', '', $sHash)
];
if (!$sToken) {