summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-27 15:44:02 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-27 15:44:02 +0800
commit1fb05d7ed79c8f7857e141c4fbf5b633d02220fb (patch)
tree85279119926875e5c374b658951ae313780bc1c7
parent202b3c3233d7185ed46ceb000dd9a9450d36824a (diff)
downloadpttbbs-1fb05d7ed79c8f7857e141c4fbf5b633d02220fb.tar
pttbbs-1fb05d7ed79c8f7857e141c4fbf5b633d02220fb.tar.gz
pttbbs-1fb05d7ed79c8f7857e141c4fbf5b633d02220fb.tar.bz2
pttbbs-1fb05d7ed79c8f7857e141c4fbf5b633d02220fb.tar.lz
pttbbs-1fb05d7ed79c8f7857e141c4fbf5b633d02220fb.tar.xz
pttbbs-1fb05d7ed79c8f7857e141c4fbf5b633d02220fb.tar.zst
pttbbs-1fb05d7ed79c8f7857e141c4fbf5b633d02220fb.zip
undo 1.85
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@979 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 376cc696..a4c3abe9 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.86 2003/06/26 03:38:02 kcwu Exp $ */
+/* $Id: mbbsd.c,v 1.87 2003/06/27 07:44:02 in2 Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -554,12 +554,8 @@ login_query()
} else if (uid[0] == '\0' || !dosearchuser(uid)) {
outs(err_uid);
} else if (strcmp(uid, STR_GUEST)) {
- if(getenv("SSH_CLIENT"))
- getdata(21, 0, MSG_PASSWD,
- passbuf, sizeof(passbuf), NOECHO);
- else
- getdata(21, 0, MSG_PASSWD"(注意: 使用未加密的傳輸方式, 連線內容可能被監聽)",
- passbuf, sizeof(passbuf), NOECHO);
+ getdata(21, 0, MSG_PASSWD,
+ passbuf, sizeof(passbuf), NOECHO);
passbuf[8] = '\0';
if (!checkpasswd(cuser.passwd, passbuf)