LibreChat/packages/api
Marco Beretta 4a3b3a2e1a
⚖️ fix: Apply User and Group Balance Overrides on Sign-In (#17884)
* fix: Resolve User and Group Balance Overrides on Sign-In

Login routes pass the lean user document from the passport strategy, which has _id but no id, so the balance sync resolved config from the role alone and wrote role-level balance settings over user and group overrides on every login.

* test: Cover the Sign-In Balance Sync With a User Override Scenario
2026-11-08 00:07:33 +01:00
..
openapi ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
src ⚖️ fix: Apply User and Group Balance Overrides on Sign-In (#17884) 2026-11-08 00:07:33 +01:00
types
.gitignore
babel.config.cjs
jest.config.mjs 🦿 chore: Bump Agents SDK to 4.2.1 (#17664) 2026-10-31 15:17:05 -04:00
jest.setup.cjs
package.json 🪰 chore: Bump HTTP Dependencies and Scope Security Overrides (#17688) 2026-11-05 05:35:17 -05:00
tsconfig.build.json
tsconfig.json 🚸 fix: Align Image Authorization and Static Serving Paths (#17392) 2026-10-24 09:18:19 +02:00
tsconfig.openapi.json
tsconfig.spec.json
tsdown.config.mjs 🔐 fix: Hash Passwords on a Worker Pool and Surface API Key Lookup Failures (#17261) 2026-10-19 22:13:31 +02:00