From 33fc91842901870d4d63126531445fbcab73ec32 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 7 Mar 2022 19:22:15 +0100 Subject: [PATCH] change route for reset password email --- backend/src/config/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts index 448eb57ab..82fb9ff2b 100644 --- a/backend/src/config/index.ts +++ b/backend/src/config/index.ts @@ -65,7 +65,8 @@ const email = { EMAIL_SMTP_PORT: process.env.EMAIL_SMTP_PORT || '587', EMAIL_LINK_VERIFICATION: process.env.EMAIL_LINK_VERIFICATION || 'http://localhost/checkEmail/{code}', - EMAIL_LINK_SETPASSWORD: process.env.EMAIL_LINK_SETPASSWORD || 'http://localhost/reset/{code}', + EMAIL_LINK_SETPASSWORD: + process.env.EMAIL_LINK_SETPASSWORD || 'http://localhost/reset-password/{code}', RESEND_TIME: isNaN(resendTime) ? 10 : resendTime, }