summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-06-13 02:35:35 +0000
committerMitch Jackson <mitch@freeside.biz>2018-06-13 02:36:27 +0000
commiteb4e6d7f09ab83b28d29e142c1d42b1b3a54afbe (patch)
tree96e499aab1c9cddb1cbe0445eb234ec97c1383cf /FS
parent46907b7fcf2c3b51d9080d806a0e54e0cf2c8a63 (diff)
RT# 32233 Mask ssn and stateid in selfservice
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index d6d756457..dbecb9b67 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -623,6 +623,8 @@ sub customer_info_short {
for (@cust_main_editable_fields) {
$return{$_} = $cust_main->get($_);
}
+ $return{$_} = $cust_main->masked($_) for qw/ss stateid/;
+
#maybe a little more expensive, but it should be cached by now
for (@location_editable_fields) {
$return{$_} = $cust_main->bill_location->get($_)
@@ -3893,4 +3895,3 @@ sub _custoragent_session_custnum {
}
1;
-