mirror of
https://github.com/louislam/dockge.git
synced 2026-05-21 14:02:17 +00:00
Fix logout
This commit is contained in:
@@ -610,7 +610,7 @@ export class DockgeServer {
|
||||
* @param {string} userID
|
||||
* @param {string?} currentSocketID
|
||||
*/
|
||||
disconnectAllSocketClient(userID: number, currentSocketID? : string) {
|
||||
disconnectAllSocketClients(userID: number, currentSocketID? : string) {
|
||||
for (const rawSocket of this.io.sockets.sockets.values()) {
|
||||
let socket = rawSocket as DockgeSocket;
|
||||
if (socket.userID === userID && socket.id !== currentSocketID) {
|
||||
|
||||
Reference in New Issue
Block a user