diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-06-11 00:04:00 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-06-11 00:04:00 -0500 |
commit | f04d95852fef6dfaf1813ceacd94f68a528796cd (patch) | |
tree | 207be2ab4be02591e8757b533b4b7a3419643b33 /FS/FS/ClientAPI | |
parent | 2cc8d4007576bfd2efd294fe19f5c3885c5abd8e (diff) |
RT# 32233 Mask ssn and stateid in selfservice
Diffstat (limited to 'FS/FS/ClientAPI')
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index ae0fa61..a30dde5 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -630,9 +630,7 @@ sub customer_info_short { for (@cust_main_editable_fields) { $return{$_} = $cust_main->get($_); } - - $return{ss} = $cust_main->masked('ss') if $p->{mask_ss}; - $return{stateid} = $cust_main->masked('stateid') if $p->{mask_stateid}; + $return{$_} = $cust_main->masked($_) for qw/ss stateid/; #maybe a little more expensive, but it should be cached by now for (@location_editable_fields) { |