Skip to content

Commit 3b28287

Browse files
Update login screen text
Remove the plaintext warnings for password entry since Bingehack4 is accessed over SSH. Add a clarifying statement to the username entry for players with CSH accounts.
1 parent 0c2a7a2 commit 3b28287

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nethack/src/netgame.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ change_password_callback(const char *buf, void *server_void)
149149
}
150150

151151
curses_getline_pw(
152-
"New password: (Beware - it is transmitted in plain text)",
152+
"New password:",
153153
server, confirm_set_password);
154154
}
155155

@@ -347,14 +347,14 @@ get_username_password(struct server_info *server)
347347
server->password = NULL;
348348
}
349349

350-
curses_getline("Username (new or existing account):",
350+
curses_getline("Username (new or existing account) (Not a CSH Login!):",
351351
&(server->username), getlin_strdup_callback);
352352
if (!server->username)
353353
return 0;
354354

355355
do {
356356
curses_getline_pw(
357-
"Password: (beware - it is transmitted in plain text)",
357+
"Password:",
358358
&(server->password), getlin_strdup_callback);
359359
if (!server->password) {
360360
free(server->username);

0 commit comments

Comments
 (0)