diff --git a/apiserver/templates/emails/auth/forgot_password.html b/apiserver/templates/emails/auth/forgot_password.html
index 7c3ae585f..14a15e5b2 100644
--- a/apiserver/templates/emails/auth/forgot_password.html
+++ b/apiserver/templates/emails/auth/forgot_password.html
@@ -2,10 +2,10 @@
Dear {{first_name}},
- Welcome! Your account has been created.
- Verify your email by clicking on the link below
- {{forgot_password_url}}
- successfully.
+ Here is the link to reset your password.
+
+ Link: {{forgot_password_url}}
+
+ Thank you
-
\ No newline at end of file
diff --git a/apps/app/components/account/email-password-form.tsx b/apps/app/components/account/email-password-form.tsx
index 7d56d67a0..920ec0829 100644
--- a/apps/app/components/account/email-password-form.tsx
+++ b/apps/app/components/account/email-password-form.tsx
@@ -1,6 +1,4 @@
-import React from "react";
-
-import Link from "next/link";
+import React, { useState } from "react";
// react hook form
import { useForm } from "react-hook-form";
@@ -8,6 +6,8 @@ import { useForm } from "react-hook-form";
import authenticationService from "services/authentication.service";
// hooks
import useToast from "hooks/use-toast";
+// components
+import { EmailResetPasswordForm } from "components/account";
// ui
import { Input, SecondaryButton } from "components/ui";
// types
@@ -18,7 +18,10 @@ type EmailPasswordFormValues = {
};
export const EmailPasswordForm = ({ handleSignIn }: any) => {
+ const [isResettingPassword, setIsResettingPassword] = useState(false);
+
const { setToastAlert } = useToast();
+
const {
register,
handleSubmit,
@@ -58,59 +61,66 @@ export const EmailPasswordForm = ({ handleSignIn }: any) => {
});
});
};
+
return (
<>
-