From 1cf313b0826843102ee0ea84264634125b9e8fd7 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Sun, 30 Nov 2014 11:31:36 +0100 Subject: [PATCH] Make sure to clean the place on logout. --- modoboa/extensions/webmail/lib/imaputils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modoboa/extensions/webmail/lib/imaputils.py b/modoboa/extensions/webmail/lib/imaputils.py index ab956c8e3..46de74b5e 100644 --- a/modoboa/extensions/webmail/lib/imaputils.py +++ b/modoboa/extensions/webmail/lib/imaputils.py @@ -304,6 +304,7 @@ class IMAPconnector(object): self._cmd("LOGOUT") del self.m self.m = None + del self.current_mailbox def parse_search_parameters(self, criterion, pattern): """Parse search information and apply them."""