From 65864b6d92800978de3e33cdfb9752f821c5dbf5 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Thu, 4 Apr 2024 11:56:45 +0200 Subject: add missing file --- src/jwebmail/read_mails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jwebmail') diff --git a/src/jwebmail/read_mails.py b/src/jwebmail/read_mails.py index e010a7d..915567c 100644 --- a/src/jwebmail/read_mails.py +++ b/src/jwebmail/read_mails.py @@ -51,7 +51,7 @@ def load_user(username: str) -> JWebmailUser: username="jwebmail", password=passwd, ) - passwd = r.get(f"jwm:user:{username}") # EXPIRATION_SEC + passwd = r.getex(f"jwm:user:{username}", EXPIRATION_SEC) if passwd is None: return None return JWebmailUser(username, passwd) -- cgit v1.2.3