tianwu.sun hai 9 meses
pai
achega
ff06042f22

+ 1 - 1
src/main/java/com/bootdo/system/service/impl/SessionServiceImpl.java

@@ -81,7 +81,7 @@ public class SessionServiceImpl implements SessionService {
     @Override
     public boolean forceLogout(String sessionId) {
         Session session = sessionDAO.readSession(sessionId);
-        session.stop();
+        sessionDAO.delete(session);
         return true;
     }
 }