adds flag to disable mail account

This commit is contained in:
Dawid Kulpa
2024-09-29 20:54:44 +02:00
parent dd9b10bdf8
commit 0e4e66aca5
14 changed files with 536 additions and 386 deletions

View File

@@ -20,6 +20,8 @@
<pngx-input-password i18n-title title="Password" formControlName="password" [error]="error?.password"></pngx-input-password>
<pngx-input-check i18n-title title="Password is token" i18n-hint hint="Check if the password above is a token used for authentication" formControlName="is_token" [error]="error?.is_token"></pngx-input-check>
<pngx-input-text i18n-title title="Character Set" formControlName="character_set" [error]="error?.character_set"></pngx-input-text>
<pngx-input-check i18n-title title="Enabled" i18n-hint hint="Whether fetching of mail for this account is enabled" formControlName="enabled" [error]="error?.enabled"></pngx-input-check>
</div>
</div>
</div>

View File

@@ -52,6 +52,7 @@ export class MailAccountEditDialogComponent extends EditDialogComponent<MailAcco
password: new FormControl(null),
is_token: new FormControl(false),
character_set: new FormControl('UTF-8'),
enabled: new FormControl(true),
})
}