diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-06-10 23:25:41 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-06-10 23:25:41 -0500 |
commit | 2cc8d4007576bfd2efd294fe19f5c3885c5abd8e (patch) | |
tree | 53d5d8d364e9eac3d84806546bc22a1196841e31 /FS/FS/ClientAPI | |
parent | 2a557042a62c71b2bcee3d4d2b7e6c79bc52e67a (diff) |
RT# 32233 Mask ssn and stateid in selfservice
Diffstat (limited to 'FS/FS/ClientAPI')
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index e4fef95..ae0fa61 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -630,6 +630,10 @@ 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}; + #maybe a little more expensive, but it should be cached by now for (@location_editable_fields) { $return{$_} = $cust_main->bill_location->get($_) @@ -3900,4 +3904,3 @@ sub _custoragent_session_custnum { } 1; - |