summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-05-23 09:47:51 -0700
committerIvan Kohler <ivan@freeside.biz>2017-05-23 09:47:51 -0700
commitdb4224c7e058492c8e32a39d5b6dd3c3ebe01955 (patch)
tree1819f585fda013fc79eda716810d3ecd9dc449af
parent35e48065dcbf51d721043b27ce54307e5a3bdae7 (diff)
don't echo back a password in the error message
-rw-r--r--FS/FS/svc_acct.pm3
1 files changed, 1 insertions, 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 ) {