mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Only allow GnuPG when openpgp setting is true
This commit is contained in:
parent
58d02fa2e7
commit
70f315e76e
1 changed files with 3 additions and 3 deletions
|
|
@ -1190,9 +1190,9 @@ class Actions
|
|||
|
||||
if ($oConfig->Get('security', 'openpgp', false)) {
|
||||
$aResult[] = Enumerations\Capa::OPEN_PGP;
|
||||
}
|
||||
if (\SnappyMail\PGP\GnuPG::isSupported()) {
|
||||
$aResult[] = Enumerations\Capa::GNUPG;
|
||||
if (\SnappyMail\PGP\GnuPG::isSupported()) {
|
||||
$aResult[] = Enumerations\Capa::GNUPG;
|
||||
}
|
||||
}
|
||||
|
||||
if ($bAdmin || ($oAccount && $oAccount->Domain()->UseSieve())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue