保誠-保戶業務員媒合平台
Mila
2021-11-29 98891d1d1bcaa414f336b9c05ad94d39fe9cb1bc
pamapi/src/main/java/com/pollex/pam/service/CustomerAuthService.java
@@ -59,10 +59,9 @@
              new UsernamePasswordAuthenticationToken(account, otpCode, grantedAuths);
        Map<String, String> details = new HashMap<>();
        details.put(CustomerDetailEnum.ID.getValue(), customer.getId().toString());
        details.put(CustomerDetailEnum.DB_ID.getValue(), customer.getId().toString());
        details.put(CustomerDetailEnum.NAME.getValue(), customer.getName());
        details.put(CustomerDetailEnum.ACCOUNT.getValue(), account);
//        details.put(CustomerDetailEnum.CONTACT_TYPE.getValue(), customer.getContactType());
        authenticationToken.setDetails(details);
        return authenticationToken;