Co-authored-by: Nelson Chan <chakflying@hotmail.com>
This commit is contained in:
parent
621419e434
commit
fa1214ae5e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue