[freeside-commits] branch FREESIDE_3_BRANCH updated. a56ea36329a7d1bced2200ed0976e9147cf6e25c

Mitch Jackson mitch at freeside.biz
Tue Jun 12 20:03:31 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  a56ea36329a7d1bced2200ed0976e9147cf6e25c (commit)
      from  956f5fc611a223847baf628e596511af1d0e2b0e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a56ea36329a7d1bced2200ed0976e9147cf6e25c
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Wed Jun 13 02:35:35 2018 +0000

    RT# 32233 Mask ssn and stateid in selfservice

diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 476ef0789..f32523e35 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -600,6 +600,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($_);
@@ -3880,4 +3882,3 @@ sub _custoragent_session_custnum {
 }
 
 1;
-

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/ClientAPI/MyAccount.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list