diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-11-01 10:20:10 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-11-01 10:20:10 -0300 |
commit | bb265821d74b3ac95e259b7683b7bde4a77e916f (patch) | |
tree | ccb71bfb288bcebdb9ca4647960b1720dccca706 /src/leap/mail/imap/service | |
parent | d9eaccecf3a4e9677140092bd29e13ea662658f9 (diff) | |
parent | 64cbb0d02e312a91c324b49ddb99bfb691b4e2cd (diff) |
Merge branch 'feature/mail-notifications' into develop
Diffstat (limited to 'src/leap/mail/imap/service')
-rw-r--r-- | src/leap/mail/imap/service/imap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/mail/imap/service/imap.py b/src/leap/mail/imap/service/imap.py index b641d2e..5f7322a 100644 --- a/src/leap/mail/imap/service/imap.py +++ b/src/leap/mail/imap/service/imap.py @@ -77,7 +77,7 @@ class LeapIMAPServer(imap4.IMAP4Server): #self.theAccount = theAccount def lineReceived(self, line): - if "login" in line: + if "login" in line.lower(): # avoid to log the pass, even though we are using a dummy auth # by now. msg = line[:7] + " [...]" @@ -160,7 +160,7 @@ def run_service(*args, **kwargs): try: tport = reactor.listenTCP(port, factory, - interface="localhost") + interface="localhost") fetcher = LeapIncomingMail( keymanager, soledad, |