保誠-保戶業務員媒合平台
Mila
2022-01-24 035621f9e0fd3e74b845d6a2402c93852f4c1736
pamapi/src/main/java/com/pollex/pam/service/CustomerAuthService.java
@@ -59,9 +59,7 @@
              new UsernamePasswordAuthenticationToken(account, otpCode, grantedAuths);
        Map<String, String> details = new HashMap<>();
        details.put(CustomerDetailEnum.ID.getValue(), customer.getId().toString());
        details.put(CustomerDetailEnum.NAME.getValue(), customer.getName());
        details.put(CustomerDetailEnum.DB_ID.getValue(), customer.getId().toString());
        authenticationToken.setDetails(details);
        return authenticationToken;