summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Account.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Account.py')
-rw-r--r--module/plugins/internal/Account.py5
1 files changed, 3 insertions, 2 deletions
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