mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-25 07:16:21 +08:00
Resolve #161
This commit is contained in:
parent
346829be38
commit
ac5daa5c22
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ trait Accounts
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function SetAccounts(MainAccount $oAccount, array $aAccounts = array()): void
|
public function SetAccounts(MainAccount $oAccount, array $aAccounts = array()): void
|
||||||
{
|
{
|
||||||
$sParentEmail = $oAccount->Email();
|
$sParentEmail = $oAccount->Email();
|
||||||
if ($aAccounts) {
|
if ($aAccounts) {
|
||||||
|
|
|
@ -239,7 +239,7 @@ trait Contacts
|
||||||
return $this->DefaultResponse(__FUNCTION__, $mResponse);
|
return $this->DefaultResponse(__FUNCTION__, $mResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function setContactsSyncData(\RainLoop\Model\Account $oAccount, array $aData) : bool
|
public function setContactsSyncData(\RainLoop\Model\Account $oAccount, array $aData) : bool
|
||||||
{
|
{
|
||||||
if ($aData['Password']) {
|
if ($aData['Password']) {
|
||||||
$aData['Password'] = \SnappyMail\Crypt::EncryptToJSON($aData['Password'], $oAccount->CryptKey());
|
$aData['Password'] = \SnappyMail\Crypt::EncryptToJSON($aData['Password'], $oAccount->CryptKey());
|
||||||
|
|
Loading…
Reference in a new issue