mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02: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();
|
$AB_bo = new \addressbook_bo();
|
||||||
$credents = Mail\Credentials::read($this->profileID, Mail\Credentials::SMIME, $GLOBALS['egw_info']['user']['account_id']);
|
$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))
|
if (!$this->smime->verifyPassphrase($credents['acc_smime_password'], $_passphrase))
|
||||||
{
|
{
|
||||||
return array (
|
return array (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user