projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 32233 Mask ssn and stateid in selfservice
[freeside.git]
/
FS
/
FS
/
ClientAPI
/
MyAccount.pm
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
ae0fa61
..
a30dde5
100644
(file)
--- 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($_);
}
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) {
#maybe a little more expensive, but it should be cached by now
for (@location_editable_fields) {