From 1bc7db9098967a166b17df59065861fbe3cd41d8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 18 Jul 2015 23:26:48 +0200 Subject: [Hoster] Fix the http request issue --- module/plugins/internal/Account.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/plugins/internal/Account.py') diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index b437b4a55..951d279be 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -16,7 +16,7 @@ class WrongPassword(Exception): class Account(Plugin): __name__ = "Account" __type__ = "account" - __version__ = "0.04" + __version__ = "0.05" __description__ = """Base account plugin""" __license__ = "GPLv3" @@ -92,8 +92,9 @@ class Account(Plugin): def relogin(self, user): req = self.get_account_request(user) if req: - req.cj.clear() + req.clearCookies() req.close() + if user in self.infos: del self.infos[user] #: delete old information -- cgit v1.2.3