mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Fix: typo for disconnectAllSocketClients
(#4213)
This commit is contained in:
parent
89beb5f264
commit
99adac3eb9
1 changed files with 1 additions and 1 deletions
|
@ -1264,7 +1264,7 @@ let needSetup = false;
|
||||||
let user = await doubleCheckPassword(socket, password.currentPassword);
|
let user = await doubleCheckPassword(socket, password.currentPassword);
|
||||||
await user.resetPassword(password.newPassword);
|
await user.resetPassword(password.newPassword);
|
||||||
|
|
||||||
server.disconnectAllSocketClient(user.id, socket.id);
|
server.disconnectAllSocketClients(user.id, socket.id);
|
||||||
|
|
||||||
callback({
|
callback({
|
||||||
ok: true,
|
ok: true,
|
||||||
|
|
Loading…
Reference in a new issue