mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-16 02:49:03 +01:00
S/MIME:
- use acc_smime_username for fetching smime certificate
This commit is contained in:
parent
668cbaaacb
commit
ef04e0bb77
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user