summaryrefslogtreecommitdiff
path: root/src/jwebmail/read_mails.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/read_mails.py')
-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 915567c..e010a7d 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.getex(f"jwm:user:{username}", EXPIRATION_SEC)
+ passwd = r.get(f"jwm:user:{username}") # EXPIRATION_SEC
if passwd is None:
return None
return JWebmailUser(username, passwd)