mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-18 04:04:41 -05: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 New Issue
Block a user