LibreChat/api/server/services
Danny Avila d5d362e52b
📬 refactor: Normalize Email Handling in User Methods (#10743)
- Updated the `findUser` method to normalize email fields to lowercase and trimmed whitespace for case-insensitive matching.
- Enhanced the `normalizeEmailInCriteria` function to handle email normalization in search criteria, including `` conditions.
- Added tests to ensure email normalization works correctly across various scenarios, including case differences and whitespace handling.
2025-12-01 09:41:25 -05:00
..
Artifacts
Config
Endpoints
Files
Runs
start
Threads
Tools
ActionService.js
ActionService.spec.js
AssistantService.js
AuthService.js
cleanup.js
createRunBody.js
GraphApiService.js
GraphApiService.spec.js
GraphTokenService.js
initializeMCPs.js
initializeOAuthReconnectManager.js
MCP.js
MCP.spec.js
ModelService.js
ModelService.spec.js
PermissionService.js
PermissionService.spec.js
PluginService.js
ToolService.js
twoFactorService.js
UserService.js