Co-authored-by: Nelson Chan <chakflying@hotmail.com>
pull/4224/head
Louis Lam 12 months ago committed by GitHub
parent 621419e434
commit fa1214ae5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save