服务重启后,用户登录时加载用户session

This commit is contained in:
heavyrain lee
2019-04-25 08:15:28 +08:00
parent 2326850538
commit 90c8e49808
3 changed files with 17 additions and 4 deletions
@@ -343,7 +343,7 @@ public class ProtocolProcessor {
return null;
}
m_sessionsStore.loadUserSession(username, clientId);
ClientSession clientSession = m_sessionsStore.sessionForClient(clientId);
boolean isSessionAlreadyStored = clientSession != null;
if (isSessionAlreadyStored) {