Merge pull request from GHSA-23q2-5gf8-gjpp

pull/5043/head
Louis Lam 7 months ago committed by GitHub
parent 7b5d2a71ff
commit 7a9e2f5de6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1205,6 +1205,12 @@ let needSetup = false;
await doubleCheckPassword(socket, currentPassword); 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 previousChromeExecutable = await Settings.get("chromeExecutable");
const previousNSCDStatus = await Settings.get("nscd"); const previousNSCDStatus = await Settings.get("nscd");

Loading…
Cancel
Save