mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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());
|
return \md5(parent::Hash() . $this->ParentEmail());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function jsonSerialize()
|
||||||
|
{
|
||||||
|
$aData = parent::jsonSerialize();
|
||||||
|
$aData[] = ''; // was ParentEmail
|
||||||
|
return $aData;
|
||||||
|
}
|
||||||
|
|
||||||
public function asTokenArray(MainAccount $oMainAccount) : array
|
public function asTokenArray(MainAccount $oMainAccount) : array
|
||||||
{
|
{
|
||||||
$sHash = $oMainAccount->CryptKey();
|
$sHash = $oMainAccount->CryptKey();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue