Fix inverted validation for enableSessionRebuild system config (#451)

Co-authored-by: samanhappy <samanhappy@gmail.com>
This commit is contained in:
Copilot
2025-11-27 21:01:13 +08:00
committed by GitHub
parent 803e35b14c
commit dac0d376e8

View File

@@ -543,7 +543,7 @@ export const updateSystemConfig = (req: Request, res: Response): void => {
const hasNameSeparatorUpdate = typeof nameSeparator === 'string'; const hasNameSeparatorUpdate = typeof nameSeparator === 'string';
const hasSessionRebuildUpdate = typeof enableSessionRebuild !== 'boolean'; const hasSessionRebuildUpdate = typeof enableSessionRebuild === 'boolean';
const hasOAuthServerUpdate = const hasOAuthServerUpdate =
oauthServer && oauthServer &&