mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-10 01:48:38 +08:00
updated profile generation
This commit is contained in:
parent
636d0585ae
commit
450ff30cad
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ module.exports = (db, server, userHandler) => {
|
|||
let accountPort;
|
||||
let accountSecure;
|
||||
|
||||
if (scopes.includes('imap')) {
|
||||
if (scopes.includes('*') || scopes.includes('imap')) {
|
||||
// prefer IMAP
|
||||
accountType = 'EmailTypeIMAP';
|
||||
accountHost = config.imap.setup.hostname;
|
||||
accountPort = config.imap.setup.port || config.imap.port;
|
||||
|
|
Loading…
Reference in a new issue