mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
refactor: migrate checkEmailConfig to TypeScript and update imports
This commit is contained in:
parent
ab4596206f
commit
550bf56077
8 changed files with 27 additions and 32 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const { logger } = require('@librechat/data-schemas');
|
||||
const { errorsToString } = require('librechat-data-provider');
|
||||
const { isEnabled, checkEmailConfig } = require('@librechat/api');
|
||||
const { Strategy: PassportLocalStrategy } = require('passport-local');
|
||||
const { isEnabled, checkEmailConfig } = require('~/server/utils');
|
||||
const { findUser, comparePassword, updateUser } = require('~/models');
|
||||
const { loginSchema } = require('./validators');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue