mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
📧 feat: Allow usage of custom SMTP server (#1219)
Co-authored-by: David Reis <post@d-reis.com>
This commit is contained in:
parent
3838ff4617
commit
ae03267d9b
5 changed files with 155 additions and 85 deletions
|
|
@ -22,7 +22,7 @@ router.get('/', async function (req, res) {
|
|||
registrationEnabled: isEnabled(process.env.ALLOW_REGISTRATION),
|
||||
socialLoginEnabled: isEnabled(process.env.ALLOW_SOCIAL_LOGIN),
|
||||
emailEnabled:
|
||||
!process.env.EMAIL_SERVICE &&
|
||||
(!!process.env.EMAIL_SERVICE || !!process.env.EMAIL_HOST) &&
|
||||
!!process.env.EMAIL_USERNAME &&
|
||||
!!process.env.EMAIL_PASSWORD &&
|
||||
!!process.env.EMAIL_FROM,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue