[Web] Fix details for blind DKIM keys

This commit is contained in:
andryyy 2018-11-12 10:00:15 +01:00
parent 1d9f820b02
commit 2b7aa206e4

View File

@ -227,7 +227,7 @@ function dkim($_action, $_data = null) {
return true;
break;
case 'details':
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data)) {
if (!hasDomainAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data) && $_SESSION['mailcow_cc_role'] != "admin") {
return false;
}
$dkimdata = array();