Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5489:c87340986664 HEAD
Call vset_lastauth()
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 03 Apr 2007 06:28:30 +0300 |
parents | 3a8a3b2badab |
children | 6363c9c8c0e8 |
files | src/auth/userdb-vpopmail.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/userdb-vpopmail.c Mon Apr 02 13:23:10 2007 +0300 +++ b/src/auth/userdb-vpopmail.c Tue Apr 03 06:28:30 2007 +0300 @@ -65,6 +65,11 @@ return; } + if (auth_request->successful) { + /* update the last login only when we're really */ + vset_lastauth(vpop_user, vpop_domain, auth_request->service); + } + if (vpw->pw_dir == NULL || vpw->pw_dir[0] == '\0') { /* user's homedir doesn't exist yet, create it */ auth_request_log_info(auth_request, "vpopmail",