mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-08 15:57:37 +08:00
Bugfix: account switching failed
This commit is contained in:
parent
c16ab19dd4
commit
a736f3697d
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,13 @@ class AdditionalAccount extends Account
|
|||
return \md5(parent::Hash() . $this->ParentEmail());
|
||||
}
|
||||
|
||||
public function jsonSerialize()
|
||||
{
|
||||
$aData = parent::jsonSerialize();
|
||||
$aData[] = ''; // was ParentEmail
|
||||
return $aData;
|
||||
}
|
||||
|
||||
public function asTokenArray(MainAccount $oMainAccount) : array
|
||||
{
|
||||
$sHash = $oMainAccount->CryptKey();
|
||||
|
|
Loading…
Reference in a new issue