summaryrefslogtreecommitdiff
path: root/src/jwebmail
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-04-04 11:56:45 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2024-04-04 11:56:45 +0200
commit65864b6d92800978de3e33cdfb9752f821c5dbf5 (patch)
tree62a51c6f96690ff86049e50972d97e52b710e7d0 /src/jwebmail
parent62ea31761eb20200697d3de78cd99e828df24716 (diff)
add missing file
Diffstat (limited to 'src/jwebmail')
-rw-r--r--src/jwebmail/read_mails.py2
1 files changed, 1 insertions, 1 deletions
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)