Fix: typo for `disconnectAllSocketClients` (#4213)

pull/4217/head
Nelson Chan 5 months ago committed by GitHub
parent 89beb5f264
commit 99adac3eb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1264,7 +1264,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,

Loading…
Cancel
Save