diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-04-07 15:52:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 15:52:15 +0300 |
commit | 9f44d148df8de354ba21c128dec66b2de92d5ad0 (patch) | |
tree | c8d571ff334abc7843b1b6162cc405d6ce3cde9b /src | |
parent | 9145031925725db12e568e5b67c3bc3f64b72043 (diff) | |
parent | 4b5cdb49aed4c00a6e9b625b5d00494273a44ce3 (diff) |
Merge pull request #6092 from Ad5001/fix-trim-imap-smtp-hosts
Triming IMAP and SMTP hosts on setup.
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AccountForm.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/AccountForm.vue b/src/components/AccountForm.vue index 5e231dc55..98d4969d0 100644 --- a/src/components/AccountForm.vue +++ b/src/components/AccountForm.vue @@ -386,9 +386,14 @@ export default { ...this.autoConfig, }) } else { + // Removing additional whitespaces from manual configuration hosts + // In order to avoid issues when copy pasting imap & smtp hosts from providers documentations, + // which may have whitespaces. return this.save({ autoDetect: false, ...this.manualConfig, + imapHost: this.manualConfig.imapHost.trim(), + smtpHost: this.manualConfig.smtpHost.trim(), }) } }, |