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:
committed by
DerLinkman
parent
3c62a7fd9f
commit
c6a56e0748
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user