1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-13 18:06:01 +00:00

[Web] add IAM delete button & fix add mbox modal

This commit is contained in:
FreddleSpl0it
2023-03-31 14:56:31 +02:00
committed by DerLinkman
parent 3c62a7fd9f
commit c6a56e0748
2 changed files with 3 additions and 2 deletions

View File

@@ -282,7 +282,7 @@ $(document).ready(function() {
$("#addInputQuota").val(template.quota / 1048576);
$('#mbox_add_iam').selectpicker('val', template.authsource);
// toggle password fields
if (template.authsource === 'mailcow'){
if (!template.authsource || template.authsource === 'mailcow'){
$('#mbox_add_pwds').removeClass('d-none');
$('#mbox_add_pwds').find('.form-control').prop('required', true);
} else {