mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Save a few bytes in error message.
This commit is contained in:
parent
a421ba8203
commit
bec26527a1
@ -163,7 +163,7 @@ password_check(const char *old, const char *newval, const struct passwd *pwdp)
|
||||
msg = "too similiar";
|
||||
|
||||
else if ( strstr(newval, pwdp->pw_name) )
|
||||
msg = "don't use something like your username as password";
|
||||
msg = "username in password";
|
||||
|
||||
else {
|
||||
safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user