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

index a86db9c..58070e7 100644 (file)
@@ -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 ) {