guohongjin
2024-04-17 67c5f30d9a0d96746a423fbaf4c843593801a28a
roses/kernel-s-customer/customer-business/src/main/java/cn/stylefeng/roses/kernel/customer/modular/service/impl/CustomerServiceImpl.java
@@ -219,9 +219,9 @@
            sessionManagerApi.createSession(jwtToken, loginUser, loginRequest.getCreateCookie());
            // 如果开启了单账号单端在线,则踢掉已经上线的该用户
            if (AuthConfigExpander.getSingleAccountLoginFlag()) {
//            if (AuthConfigExpander.getSingleAccountLoginFlag()) {
                sessionManagerApi.removeSessionExcludeToken(jwtToken);
            }
//            }
        }
        // 更新用户ip和登录时间