diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-29 01:10:38 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-29 01:10:38 +0800 |
commit | dd0a2532713c555a6f96de23a4ff559f461c2ca2 (patch) | |
tree | ede58f1ede70f52413eee71e65e165a1ac15defb /mbbsd/user.c | |
parent | 27eb361dbcc23cca40df8e2c5d7bcf371a5a6f62 (diff) | |
download | pttbbs-dd0a2532713c555a6f96de23a4ff559f461c2ca2.tar pttbbs-dd0a2532713c555a6f96de23a4ff559f461c2ca2.tar.gz pttbbs-dd0a2532713c555a6f96de23a4ff559f461c2ca2.tar.bz2 pttbbs-dd0a2532713c555a6f96de23a4ff559f461c2ca2.tar.lz pttbbs-dd0a2532713c555a6f96de23a4ff559f461c2ca2.tar.xz pttbbs-dd0a2532713c555a6f96de23a4ff559f461c2ca2.tar.zst pttbbs-dd0a2532713c555a6f96de23a4ff559f461c2ca2.zip |
- fix display error when user input wrong value in email address (reported by watch @ ptt1)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3752 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 38387514..b7fb4e6a 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1422,7 +1422,6 @@ toregister(char *email, char *genbuf, char *phone, char *career, getfield(15, "身分認證用", "E-Mail Address", email, 50); if (strcmp(email, "x") == 0 || strcmp(email, "X") == 0) break; - #ifdef HAVEMOBILE else if (strcmp(email, "m") == 0 || strcmp(email, "M") == 0) { if (isvalidmobile(mobile)) { @@ -1432,6 +1431,7 @@ toregister(char *email, char *genbuf, char *phone, char *career, if (yn[0] == 'Y' || yn[0] == 'y') break; } else { + move(15, 0); clrtobot(); move(17, 0); outs("指定的手機號碼不合法," "若您無手機門號請選擇其他方式認證"); @@ -1446,6 +1446,7 @@ toregister(char *email, char *genbuf, char *phone, char *career, if (yn[0] == 'Y' || yn[0] == 'y') break; } else { + move(15, 0); clrtobot(); move(17, 0); outs("指定的 E-Mail 不合法, 若您無 E-Mail 請輸入 x 由站長手動認證\n"); outs("但注意手動認證通常會花上數天的時間。\n"); |