1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-07-30 16:43:36 +00:00

[Imapsync] Add oauth support

This commit is contained in:
FreddleSpl0it
2026-07-17 16:04:42 +02:00
parent 175878f8f1
commit 06a2a14c55
31 changed files with 3082 additions and 783 deletions
+11
View File
@@ -240,4 +240,15 @@ jQuery(function($){
// Draw Table if tab is active
onVisible("[id^=wl_policy_domain_table]", () => draw_wl_policy_domain_table());
onVisible("[id^=bl_policy_domain_table]", () => draw_bl_policy_domain_table());
// initialise imapsync-source form on load.
if ($('select.imapsync-source-oauth-flow').length) {
imapsyncSyncSourceOauthToggle($('select.imapsync-source-oauth-flow').closest('form'));
}
if ($('select.imapsync-source-scope').length) {
$('select.imapsync-source-scope').trigger('change');
}
if ($('select.imapsync-source-select').length) {
populateImapsyncSourceSelects();
}
});