summaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 790dbed..9a69741 100644
--- a/src/error.c
+++ b/src/error.c
@@ -41,6 +41,8 @@ pwquality_strerror(char *buf, size_t len, int rv, void *auxerror)
return _("The password differs with case changes only");
case PWQ_ERROR_TOO_SIMILAR:
return _("The password is too similar to the old one");
+ case PWQ_ERROR_USER_CHECK:
+ return _("The password contains the user name in some form");
case PWQ_ERROR_MIN_DIGITS:
if (auxerror) {
snprintf(buf, len, _("The password contains less than %ld digits"), (long)auxerror);