mirror of
https://github.com/louislam/dockge.git
synced 2026-05-22 06:22:17 +00:00
Fix logout
This commit is contained in:
@@ -211,6 +211,8 @@ export class MainSocketHandler extends SocketHandler {
|
||||
let user = await doubleCheckPassword(socket, password.currentPassword);
|
||||
await user.resetPassword(password.newPassword);
|
||||
|
||||
server.disconnectAllSocketClient(user.id, socket.id);
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
msg: "Password has been updated successfully.",
|
||||
|
||||
Reference in New Issue
Block a user