mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-25 21:54:16 -08:00
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 a new issue