Skip to content

Commit

Permalink
Merge pull request from GHSA-23q2-5gf8-gjpp
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam authored Apr 18, 2024
1 parent 7b5d2a7 commit 7a9e2f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,12 @@ let needSetup = false;
await doubleCheckPassword(socket, currentPassword);
}

// Log out all clients if enabling auth
// GHSA-23q2-5gf8-gjpp
if (currentDisabledAuth && !data.disableAuth) {
server.disconnectAllSocketClients(socket.userID, socket.id);
}

const previousChromeExecutable = await Settings.get("chromeExecutable");
const previousNSCDStatus = await Settings.get("nscd");

Expand Down

0 comments on commit 7a9e2f5

Please sign in to comment.