mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
Bugfix: password should be json encoded
This commit is contained in:
parent
7565b0770e
commit
7ea4365ccb
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ trait Contacts
|
|||
\json_encode(array(
|
||||
'Enable' => $bEnabled,
|
||||
'User' => $sUser,
|
||||
'Password' => $sPassword ? \SnappyMail\Crypt::Encrypt($sPassword, $oAccount->PasswordHash()) : null,
|
||||
'Password' => $sPassword ? \SnappyMail\Crypt::EncryptToJSON($sPassword, $oAccount->PasswordHash()) : null,
|
||||
'Url' => $sUrl
|
||||
))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue