diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index 6fbcc3e3f..e562ab8cf 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -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 { diff --git a/data/web/templates/admin/tab-config-identity-provider.twig b/data/web/templates/admin/tab-config-identity-provider.twig index 02d5ca14c..13bbc7553 100644 --- a/data/web/templates/admin/tab-config-identity-provider.twig +++ b/data/web/templates/admin/tab-config-identity-provider.twig @@ -87,8 +87,9 @@