[dovecot-cvs] dovecot/src/auth userdb-vpopmail.c,1.25,1.26
tss at dovecot.org
tss at dovecot.org
Tue Apr 3 06:28:32 EEST 2007
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv5134
Modified Files:
userdb-vpopmail.c
Log Message:
Call vset_lastauth()
Index: userdb-vpopmail.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb-vpopmail.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- userdb-vpopmail.c 14 Mar 2007 11:52:36 -0000 1.25
+++ userdb-vpopmail.c 3 Apr 2007 03:28:30 -0000 1.26
@@ -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",
More information about the dovecot-cvs
mailing list