From ffbb66f856373807aeed3f26ea42fd3ee6f3e497 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 23 May 2017 09:47:48 -0700 Subject: [PATCH] don't echo back a password in the error message --- FS/FS/svc_acct.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index b659b01b2..089498045 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1323,8 +1323,7 @@ sub check { $recref->{_password} = $1; } else { return gettext('illegal_password'). " $passwordmin-$passwordmax ". - FS::Msgcat::_gettext('illegal_password_characters'). - ": ". $recref->{_password}; + FS::Msgcat::_gettext('illegal_password_characters'); } if ( $password_noampersand ) { -- 2.11.0