diff options
Diffstat (limited to 'worker')
-rw-r--r-- | worker/imap/connect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/imap/connect.go b/worker/imap/connect.go index 5be916e7..6f341753 100644 --- a/worker/imap/connect.go +++ b/worker/imap/connect.go @@ -82,7 +82,7 @@ func (w *IMAPWorker) connect() (*client.Client, error) { } } else if w.config.xoauth2.Enabled { if err := w.config.xoauth2.Authenticate( - username, password, c); err != nil { + username, password, w.worker.Name, c); err != nil { return nil, err } } else if err := c.Login(username, password); err != nil { |