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,