[Web] Fix details for blind DKIM keys

master
andryyy 2018-11-12 10:00:15 +01:00
parent 1d9f820b02
commit 2b7aa206e4
1 changed files with 1 additions and 1 deletions

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();