Skip to content
Snippets Groups Projects
Commit 9d58ae1f authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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.
parent c4aba51b
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3857 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment