From 159eff8907c382ea7ba4f05fc3b57fa1603a2c25 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on ChromeOS)" <rob@synchro.net> Date: Sat, 25 Feb 2023 23:12:59 -0800 Subject: [PATCH] Display more of the user's password Reversed the order of the pwmod date and the password itself. The number of chars of the user's password displayed depends on the terminal width. e.g. on an 80 column terminal, 18 chars will be displayed. If the user's password is longer than what can be displayed, this is indicated with a trailing "..". Wider displays (e.g. 132 column) can display all 40 chars of a user's password. This fixes issue #442 When passwords aren't displayed (due to sysop configuration), show "<hidden>" instead of "XXXXXXXX" to make that more clear. --- ctrl/text.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctrl/text.dat b/ctrl/text.dat index 8be847a083..e3646506cb 100644 --- a/ctrl/text.dat +++ b/ctrl/text.dat @@ -508,8 +508,8 @@ "\7\r\nNo user data defined.\r\n" 418 NoUserData "\1r\1h\xAE\xAE\xAE \1iDELETED\1n\1r\1h \xAF\xAF\xAF\r\n" 419 Deleted "\1b\1h\xAE\xAE\xAE \1iINACTIVE\1n\1b\1h \xAF\xAF\xAF\r\n" 420 Inactive -"\1n\1cAlias : \1h%-30.30s \1n\1cPassword : "\ 421 UeditAliasPassword - "\1h%-8.8s %s\r\n" +"\1n\1cAlias : \1h%-30.30s \1n\1cPass \1h%s\1n\1c: "\ 421 UeditAliasPassword + "\1h%s\r\n" "\1n\1cReal Name : \1h%-30.30s \1n\1cPhone number : "\ 422 UeditRealNamePhone "\1h%s\r\n" "\1n\1cAddress : \1h%-30.30s \1n\1cAge/Sex/BDay : "\ 423 UeditAddressBirthday -- GitLab