reser pwd second phase implemented

This commit was merged in pull request #379.
This commit is contained in:
victorAnumudu
2023-08-05 15:12:46 +01:00
parent fc09771b8d
commit 6a34ca6c18
3 changed files with 44 additions and 50 deletions
@@ -154,20 +154,6 @@ export default function ForgotPassword() {
{msgError}
</div>
)}
{/* {msgSuccess && (
<div className="relative p-4 text-[#44228c] bg-[#e3d7fb] border-[#d5c4f9] mb-4 rounded-[0.475rem] text-md font-light leading-[19.5px] text-[13px]">
If we find your email, you will receive a link to reset your
password. Please use or{" "}
<Link
to="/contact"
className="text-[#4687ba] hover:text-[#009ef7]"
>
contact form
</Link>{" "}
if you did not get our message after few minutes.
</div>
)} */}
<div className="signin-area mb-3.5">
<div className="flex justify-center items-center gap-2">
<button
@@ -194,7 +180,7 @@ export default function ForgotPassword() {
</>
:
<ForgetPwdResponse
title={msgSuccess? 'Password Reset Complete' : 'Password Reset Error'}
title={'Forget Password'}
message={msgSuccess? `Check your email for the link to continue password reset. Note the reset link will expire short time` : 'We are unable to continue with your request. Please try another username or contact us for help'}
type={msgSuccess}
/>