- Fix smime credentials get stored with wrong account_id
This commit is contained in:
Hadi Nategh 2017-08-28 15:18:25 +02:00
parent 466e3ad364
commit e3799c52fc

View File

@ -1264,7 +1264,7 @@ class Account implements \ArrayAccess
if ($data['acc_smime_password'])
{
Credentials::write($data['acc_id'], $data['acc_smime_username'],
$data['acc_smime_password'], Credentials::SMIME, $data['account_id'][0],
$data['acc_smime_password'], Credentials::SMIME, $valid_for,
$data['acc_smime_cred_id']);
}
else