rm comment

This commit is contained in:
Christian Hagenest
2024-06-20 16:53:01 +02:00
parent a5a486e8c5
commit 7f5ae11591

View File

@@ -106,7 +106,7 @@ def lookup_passdb(db, config: Config, user, cleartext_password):
if userdata:
# Update last login time.
conn.execute(
"UPDATE users SET last_login=? WHERE addr=?", (round(int(time.time()) // 86400), user) # only save the rounded down date of login
"UPDATE users SET last_login=? WHERE addr=?", (round(int(time.time()) // 86400), user)
)
userdata["home"] = f"/home/vmail/mail/{config.mail_domain}/{user}"