don't echo back a password in the error message
authorIvan Kohler <ivan@freeside.biz>
Tue, 23 May 2017 16:47:48 +0000 (09:47 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 23 May 2017 16:47:48 +0000 (09:47 -0700)
FS/FS/svc_acct.pm

index b659b01..0894980 100644 (file)
@@ -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 ) {