From 112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 5 Sep 2005 05:26:52 +0000 Subject: comments on a bug of re-registeration git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3132 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mbbsd/user.c b/mbbsd/user.c index e5808400..cb0665eb 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -509,7 +509,7 @@ _debug_testregcode() #endif -void email_justify(const userec_t *muser) +static void email_justify(const userec_t *muser) { char tmp[IDLEN + 1], buf[256], genbuf[256]; /* @@ -1586,6 +1586,10 @@ u_register(void) "請按下任一鍵跳離後重新上站~ :)"); sethomefile(genbuf, cuser.userid, "justify.wait"); unlink(genbuf); + // FIXME 改 email 重新認證後,phone 跟 career 會不見 + // 因為當初填進來時是從 justify.wait 讀到的,而這些 + // 資料也沒另外存。所以重新認證時讀不到 justify.wait + // phone 跟 career 就不見了。 snprintf(cuser.justify, sizeof(cuser.justify), "%s:%s:auto", phone, career); sethomefile(genbuf, cuser.userid, "justify"); -- cgit v1.2.3