diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-28 21:57:40 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-28 21:57:40 +0800 |
commit | 2230c0a8c5a4eb2397673d37e709454195c5e284 (patch) | |
tree | d6b2f7d72e55aa8aa40af5a3bcbe5ffb296dcb20 /mbbsd/admin.c | |
parent | 209a53de9d25820b20e3b5591cd1efb7e221fc24 (diff) | |
download | pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.gz pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.bz2 pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.lz pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.xz pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.zst pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.zip |
* moving into the new pwcu (password - current user helper) API
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index cab1089f..b1f6f1c7 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -103,6 +103,7 @@ upgrade_passwd(userec_t *puser) memset(puser->chkpad0, 0, sizeof(puser->chkpad0)); memset(puser->chkpad1, 0, sizeof(puser->chkpad1)); memset(puser->chkpad2, 0, sizeof(puser->chkpad2)); + puser->numlogindays = 0; puser->version = PASSWD_VERSION; return; } |