summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-05 13:26:52 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-05 13:26:52 +0800
commit112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c (patch)
treed06cbde911e10eb4d302d924daa5e105aff2c38f
parent3238fae574771beb830e967d501f535781fa4d37 (diff)
downloadpttbbs-112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c.tar
pttbbs-112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c.tar.gz
pttbbs-112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c.tar.bz2
pttbbs-112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c.tar.lz
pttbbs-112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c.tar.xz
pttbbs-112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c.tar.zst
pttbbs-112b1cb2cbc36a3fee05c69517bb4f7428cd7e2c.zip
comments on a bug of re-registeration
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3132 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c6
1 files changed, 5 insertions, 1 deletions
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");