mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 20:00:15 +01:00
Feat email password reset (#730)
* change name of auth.service to AuthService * Add emailEnabled to config api * Setup email * update nodemailer version * add translations * update .env.example * clean up console.log's) * refactor RequestPasswordReset component * chore: rebuild package-lock.json --------- Co-authored-by: Daniel Avila <messagedaniel@protonmail.com>
This commit is contained in:
parent
2faeebfae2
commit
30a49ae611
15 changed files with 221 additions and 171 deletions
|
|
@ -257,6 +257,7 @@ export type TStartupConfig = {
|
|||
serverDomain: string;
|
||||
registrationEnabled: boolean;
|
||||
socialLoginEnabled: boolean;
|
||||
emailEnabled: boolean;
|
||||
};
|
||||
|
||||
export type TRefreshTokenResponse = {
|
||||
|
|
@ -265,7 +266,8 @@ export type TRefreshTokenResponse = {
|
|||
};
|
||||
|
||||
export type TRequestPasswordResetResponse = {
|
||||
link: string;
|
||||
link?: string;
|
||||
message?: string;
|
||||
};
|
||||
|
||||
export type File = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue