From 47288bfc0e58c14db66df871d16b0c3dc14e230a Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Sat, 1 Apr 2023 20:17:06 +0600 Subject: [PATCH] chore: forgot password page --- src/components/Login/EmailSignupForm.tsx | 2 +- src/pages/forgot-password.astro | 46 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 src/pages/forgot-password.astro diff --git a/src/components/Login/EmailSignupForm.tsx b/src/components/Login/EmailSignupForm.tsx index 7f66bdf44..51af3327e 100644 --- a/src/components/Login/EmailSignupForm.tsx +++ b/src/components/Login/EmailSignupForm.tsx @@ -33,7 +33,7 @@ const EmailSignupForm: FunctionComponent<{}> = () => { const json = await res.json(); if (res.status === 200) { setMessage( - 'We have sent you an email. Please verify your account to login.' + 'We have sent you an email with the verification link. Please follow the instructions to login.' ); setError(null); console.log(json); diff --git a/src/pages/forgot-password.astro b/src/pages/forgot-password.astro new file mode 100644 index 000000000..2e67a5f83 --- /dev/null +++ b/src/pages/forgot-password.astro @@ -0,0 +1,46 @@ +--- +import SettingLayout from '../layouts/SettingLayout.astro'; +--- + + +
+
+

+ Forgot password? +

+

+ Enter the email address associated with your account, and we'll email + you a link to reset your password. +

+ + + + + +
+ +
+ Don't have an account? Register +
+
+