From dac0d376e85fd0dae85bdab7de12f4c66206008e Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 27 Nov 2025 21:01:13 +0800 Subject: [PATCH] Fix inverted validation for enableSessionRebuild system config (#451) Co-authored-by: samanhappy --- src/controllers/serverController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/serverController.ts b/src/controllers/serverController.ts index 99888ff..b10bc9c 100644 --- a/src/controllers/serverController.ts +++ b/src/controllers/serverController.ts @@ -543,7 +543,7 @@ export const updateSystemConfig = (req: Request, res: Response): void => { const hasNameSeparatorUpdate = typeof nameSeparator === 'string'; - const hasSessionRebuildUpdate = typeof enableSessionRebuild !== 'boolean'; + const hasSessionRebuildUpdate = typeof enableSessionRebuild === 'boolean'; const hasOAuthServerUpdate = oauthServer &&