From db4224c7e058492c8e32a39d5b6dd3c3ebe01955 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 23 May 2017 09:47:51 -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 a86db9c0a..58070e7ed 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1413,8 +1413,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