1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-07-30 08:33:51 +00:00

[Imapsync] hide user1 input on oauth user login flow

This commit is contained in:
FreddleSpl0it
2026-07-21 12:13:38 +02:00
parent 1a10d0748e
commit 5c5f251d35
4 changed files with 5 additions and 3 deletions
+2
View File
@@ -613,6 +613,8 @@ $(document).ready(function() {
$form.find('input[name="password1"]').prop('required', !isOauth);
$form.find('.oauth-source-hint').toggle(isOauth);
$form.find('.imapsync-oauth-connect-row').toggle(isAuthCode);
$form.find('.imapsync-user1-row').toggle(!isAuthCode);
$form.find('input[name="user1"]').prop('required', !isAuthCode);
});
// Source editor: OAuth block + authorization_code fields