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 &&