From 97646ed2e0ad524f959f9dc2632fa2fea25f5010 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 28 May 2002 21:22:15 +0000 Subject: better error message for "Illegal password" --- FS/FS/svc_acct.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FS') diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 17ae41583..a43f97ab5 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -676,7 +676,9 @@ sub check { $recref->{_password} = '!!'; } else { #return "Illegal password"; - return gettext('illegal_password'). ": ". $recref->{_password}; + return gettext('illegal_password'). "$passwordmin-$passwordmax". + FS::Msgcat::_gettext('illegal_password_characters'). + ": ". $recref->{_password}; } ''; #no error -- cgit v1.2.1