summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/service
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-19 15:43:34 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-19 15:43:34 -0300
commit533512176313e5188df86f08954ba3c74f7c1cfb (patch)
tree0a7054b971b42bf7b491804f05e8ac6e6c1c42ae /src/leap/mail/imap/service
parentbbab478d267a412f300430e2cd70f31df27b8d18 (diff)
Signal string content instead of bool or int
Diffstat (limited to 'src/leap/mail/imap/service')
-rw-r--r--src/leap/mail/imap/service/imap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py
index 380324c..6b2a61d 100644
--- a/src/leap/mail/imap/service/imap.py
+++ b/src/leap/mail/imap/service/imap.py
@@ -89,7 +89,7 @@ class LeapIMAPServer(imap4.IMAP4Server):
def authenticateLogin(self, username, password):
# all is allowed so far. use realm instead
- leap_events.signal(IMAP_CLIENT_LOGIN, True)
+ leap_events.signal(IMAP_CLIENT_LOGIN, "1")
return imap4.IAccount, self.theAccount, lambda: None