From 410eae3be414153c465202e9ee9af5c5fd03a8d4 Mon Sep 17 00:00:00 2001 From: Christian Hagenest Date: Mon, 8 Jul 2024 14:26:07 +0200 Subject: [PATCH] rm unecessary round in doveatuh --- chatmaild/src/chatmaild/doveauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatmaild/src/chatmaild/doveauth.py b/chatmaild/src/chatmaild/doveauth.py index bebd7629..79e82a46 100644 --- a/chatmaild/src/chatmaild/doveauth.py +++ b/chatmaild/src/chatmaild/doveauth.py @@ -107,7 +107,7 @@ def lookup_passdb(db, config: Config, user, cleartext_password): # Update last login time. conn.execute( "UPDATE users SET last_login=? WHERE addr=?", - (round(int(time.time()) // 86400), user), + (int(time.time() // 86400), user), ) userdata["home"] = f"/home/vmail/mail/{config.mail_domain}/{user}"