Fix: typo for disconnectAllSocketClients (#4213)

This commit is contained in:
Nelson Chan 2023-12-11 19:26:20 +08:00 committed by GitHub
parent 89beb5f264
commit 99adac3eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1264,7 +1264,7 @@ let needSetup = false;
let user = await doubleCheckPassword(socket, password.currentPassword); let user = await doubleCheckPassword(socket, password.currentPassword);
await user.resetPassword(password.newPassword); await user.resetPassword(password.newPassword);
server.disconnectAllSocketClient(user.id, socket.id); server.disconnectAllSocketClients(user.id, socket.id);
callback({ callback({
ok: true, ok: true,