From fa1214ae5ea61e0356e0664a396d21d17dd5b252 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 11 Dec 2023 19:30:01 +0800 Subject: [PATCH] Rebse #4213 (#4215) Co-authored-by: Nelson Chan --- server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.js b/server/server.js index af37c949a..018218ea7 100644 --- a/server/server.js +++ b/server/server.js @@ -1151,7 +1151,7 @@ let needSetup = false; let user = await doubleCheckPassword(socket, password.currentPassword); await user.resetPassword(password.newPassword); - server.disconnectAllSocketClient(user.id, socket.id); + server.disconnectAllSocketClients(user.id, socket.id); callback({ ok: true,