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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user