[Web] Fix administrator badge for xmpp users, fixes #3977

master
andryyy 2021-02-12 20:07:08 +01:00
parent 8c6b512f05
commit 67bedb3fb6
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
</div>
<div class="col-md-9 col-xs-7">
<p><?=$mailboxdata['local_part'];?>@<b><?=$mailboxdata['domain_xmpp_prefix'];?>.<?=$mailboxdata['domain'];?></b>
<?php if ($mailboxdata['attributes']['xmpp_access'] == 1) { ?>
<?php if ($mailboxdata['attributes']['xmpp_admin'] == 1) { ?>
<div class="label label-warning">Administrator</div>
<?php } ?>
</p>