summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-11 12:00:41 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-11 12:00:41 +0800
commit528f25b5adc5babfa4a1a6b7fe5366e447120f13 (patch)
tree7afc2f1715a4bcc898c51bd79727cdf392007b7d
parent18c0b8510d37ed61adaab37638688aadfd877f4a (diff)
downloadpttbbs-528f25b5adc5babfa4a1a6b7fe5366e447120f13.tar
pttbbs-528f25b5adc5babfa4a1a6b7fe5366e447120f13.tar.gz
pttbbs-528f25b5adc5babfa4a1a6b7fe5366e447120f13.tar.bz2
pttbbs-528f25b5adc5babfa4a1a6b7fe5366e447120f13.tar.lz
pttbbs-528f25b5adc5babfa4a1a6b7fe5366e447120f13.tar.xz
pttbbs-528f25b5adc5babfa4a1a6b7fe5366e447120f13.tar.zst
pttbbs-528f25b5adc5babfa4a1a6b7fe5366e447120f13.zip
help user upgrade regcode
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2829 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index dd27545a..8487b25c 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1448,12 +1448,18 @@ u_register(void)
stand_title("EMail認證");
move(2, 0);
prints("%s(%s) 您好,請輸入您的認證碼。\n"
- "或您可以輸入 x來重新填寫 E-Mail 或改由站長手動認證\n",
+ "或您可以輸入 x 來重新填寫 E-Mail 或改由站長手動認證\n",
cuser.userid, cuser.username);
inregcode[0] = 0;
do{
getdata(10, 0, "您的輸入: ", inregcode, sizeof(inregcode), DOECHO);
+ if (inregcode[0] == '0' && inregcode[1] == '2')
+ {
+ /* old regcode */
+ vmsg("您輸入的認證碼因系統昇級已失效,"
+ "請輸入 x 重填一次 E-Mail");
+ } else
if( strcmp(inregcode, "x") == 0 ||
strcmp(inregcode, "X") == 0 ||
strlen(inregcode) == 13 )