- use acc_smime_username for fetching smime certificate
This commit is contained in:
Hadi Nategh 2017-08-28 14:22:55 +02:00
parent 668cbaaacb
commit ef04e0bb77

View File

@ -7425,7 +7425,7 @@ class Mail
{
$AB_bo = new \addressbook_bo();
$credents = Mail\Credentials::read($this->profileID, Mail\Credentials::SMIME, $GLOBALS['egw_info']['user']['account_id']);
$certkey = $AB_bo->get_smime_keys($this->icServer->ident_email);
$certkey = $AB_bo->get_smime_keys($credents['acc_smime_username']);
if (!$this->smime->verifyPassphrase($credents['acc_smime_password'], $_passphrase))
{
return array (