Skip to content

Commit

Permalink
don't echo back a password in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanfreeside committed May 23, 2017
1 parent 2f2a281 commit ffbb66f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions FS/FS/svc_acct.pm
Expand Up @@ -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 ) {
Expand Down

0 comments on commit ffbb66f

Please sign in to comment.