LibreChat/api/server
Marco Beretta b7fef6958b
🔒refactor: social login and remove direct user model access in strategies (#2946)
* refactor: checking `ALLOW_SOCIAL_REGISTRATION` with `isEnabled`

* feat: Add findUserByEmail function to UserService

This commit adds a new function, , to the  module. This function retrieves a user document from the database based on the provided email. It returns the user document if found, otherwise it returns null. If there is a problem during user retrieval, an error is thrown.

* refactor: add socialLogin to remove repetitive code
2024-06-06 13:23:11 -04:00
..
controllers 🔒 feat: password reset disable option; fix: account email error message (#2327) 2024-06-06 11:39:36 -04:00
middleware 🔒 feat: password reset disable option; fix: account email error message (#2327) 2024-06-06 11:39:36 -04:00
routes 🔒 feat: password reset disable option; fix: account email error message (#2327) 2024-06-06 11:39:36 -04:00
services 🔒refactor: social login and remove direct user model access in strategies (#2946) 2024-06-06 13:23:11 -04:00
utils ⬇️ fix: JSON LibreChat Imports (#2897) 2024-05-29 09:15:05 -04:00
index.js 🔧 chore: Add import/order Eslint Rule (#2928) 2024-06-04 08:56:26 -04:00
socialLogins.js 🔊 fix(tts): NotAllowedError (mobile/safari), Unsupported MediaSource type (firefox), Hide Audio Element (#2854) 2024-05-24 12:18:11 -04:00