[Web] Minor fix: Hide SSO when SOGo is disabled

master
andryyy 2021-06-23 14:22:45 +02:00
parent 945786357f
commit e6d71448dd
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><?=$lang['user']['mailbox_general'];?></div> <div class="panel-heading"><?=$lang['user']['mailbox_general'];?></div>
<div class="panel-body"> <div class="panel-body">
<?php if (getenv('SKIP_SOGO') != "y") { ?>
<div class="row"> <div class="row">
<div class="col-md-3 col-xs-5 text-right"></div> <div class="col-md-3 col-xs-5 text-right"></div>
<div class="col-md-3 col-xs-7"> <div class="col-md-3 col-xs-7">
@ -187,6 +188,7 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
</div> </div>
</div> </div>
<hr> <hr>
<?php } ?>
<div class="row"> <div class="row">
<div class="col-md-3 col-xs-5 text-right"><?=$lang['user']['in_use'];?>:</div> <div class="col-md-3 col-xs-5 text-right"><?=$lang['user']['in_use'];?>:</div>
<div class="col-md-5 col-xs-7"> <div class="col-md-5 col-xs-7">