rm unecessary round in doveatuh

This commit is contained in:
Christian Hagenest
2024-07-08 14:26:07 +02:00
parent 7bc3b11594
commit 410eae3be4

View File

@@ -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}"