Co-authored-by: Nelson Chan <chakflying@hotmail.com>
This commit is contained in:
Louis Lam 2023-12-11 19:30:01 +08:00 committed by GitHub
parent 621419e434
commit fa1214ae5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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