summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/server.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-11-30 15:37:41 -0400
committerKali Kaneko <kali@leap.se>2015-11-30 16:12:34 -0400
commit569449e633abbe22b63b9c6b8c680119a3bdceda (patch)
tree68696ac4ae91dfd0303a983a9740b5111ec4ed47 /src/leap/mail/imap/server.py
parent0b48d0e739db82c28dc8a125c1ca85762dac0ba6 (diff)
[feat] make events multi-user aware
- Resolves: #7656 - Releases: 0.4.1
Diffstat (limited to 'src/leap/mail/imap/server.py')
-rw-r--r--src/leap/mail/imap/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/server.py b/src/leap/mail/imap/server.py
index 99e7174..0e5d011 100644
--- a/src/leap/mail/imap/server.py
+++ b/src/leap/mail/imap/server.py
@@ -224,7 +224,7 @@ class LEAPIMAPServer(imap4.IMAP4Server):
# bad username, reject.
raise cred.error.UnauthorizedLogin()
# any dummy password is allowed so far. use realm instead!
- emit_async(catalog.IMAP_CLIENT_LOGIN, "1")
+ emit_async(catalog.IMAP_CLIENT_LOGIN, username, "1")
return imap4.IAccount, self.theAccount, lambda: None
def do_FETCH(self, tag, messages, query, uid=0):