summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-03 13:54:41 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-03 13:54:41 +0800
commitad4a83d2da5c14c4d38f3f2b3c091efedac1dbed (patch)
tree022a8b59c134bb12d3c85a04f5d8fc6d69c492b4 /mbbsd
parent157dc30a7dab940d0a48cf8ff776e9db656142ae (diff)
downloadpttbbs-ad4a83d2da5c14c4d38f3f2b3c091efedac1dbed.tar
pttbbs-ad4a83d2da5c14c4d38f3f2b3c091efedac1dbed.tar.gz
pttbbs-ad4a83d2da5c14c4d38f3f2b3c091efedac1dbed.tar.bz2
pttbbs-ad4a83d2da5c14c4d38f3f2b3c091efedac1dbed.tar.lz
pttbbs-ad4a83d2da5c14c4d38f3f2b3c091efedac1dbed.tar.xz
pttbbs-ad4a83d2da5c14c4d38f3f2b3c091efedac1dbed.tar.zst
pttbbs-ad4a83d2da5c14c4d38f3f2b3c091efedac1dbed.zip
show a message for hidden password input
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/register.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 67187b0d..2230e339 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -235,6 +235,8 @@ new_register()
vmsg("您嘗試錯誤的輸入太多,請下次再來吧");
exit(1);
}
+ move(18, 0);
+ outs("\033[1;33m為避免被偷看,您的密碼並不會顯示在畫面上,直接輸入完後按 Enter 鍵即可。\033[m");
if ((getdata(19, 0, "請設定密碼:", passbuf,
sizeof(passbuf), NOECHO) < 3) ||
!strcmp(passbuf, newuser.userid)) {