From 6f23c59ca8305aa93b87596702670be77c1173f1 Mon Sep 17 00:00:00 2001 From: Manuel Gomez <34234948+lologf@users.noreply.github.com> Date: Tue, 9 Apr 2019 15:18:24 +0200 Subject: [PATCH] Decrypt URI in _protocol_info() method --- django_mailbox/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_mailbox/models.py b/django_mailbox/models.py index 221c410..9d60a78 100644 --- a/django_mailbox/models.py +++ b/django_mailbox/models.py @@ -143,6 +143,7 @@ class Mailbox(models.Model): @property def _protocol_info(self): + self.uri = self.decrypt_uri() return urlparse(self.uri) @property