保誠-保戶業務員媒合平台
KillerADO
2021-12-23 41bc5df9cda6a43ef47313622dd1ffde1480d06f
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;