From 9de1613bd90518cc2f365c2ae76dca6793e42df2 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Wed, 10 Sep 2025 11:10:48 +0530 Subject: [PATCH] New Password Field on Reset Password Page Should Be Empty --- src/pages/authentication/ResetPassword.jsx | 292 +++++++++++---------- 1 file changed, 147 insertions(+), 145 deletions(-) diff --git a/src/pages/authentication/ResetPassword.jsx b/src/pages/authentication/ResetPassword.jsx index 9c7ab0d2..02a8084c 100644 --- a/src/pages/authentication/ResetPassword.jsx +++ b/src/pages/authentication/ResetPassword.jsx @@ -93,153 +93,155 @@ const ResetPassword = () => { ); } return ( -
-
-

Reset Password? 🔒

-

Enter your email and new password to update.

-
-
- - - {errors.email && ( -
- {errors.email.message} -
- )} -
- -
-
- -
-
- - -
- {errors.password && ( -
- {errors.password.message} -
- )} -
- {" "} - {" "} -
-
- - -
- {errors.confirmPassword && ( -
- {errors.confirmPassword.message} -
- )} -
- -
-

- Password must be at least 8 characters -

-

- Password must contain at least one uppercase letter -

-

- Password must contain at least one number -

-

- Password must contain at least one special character -

-
- - -
- +
+

Reset Password? 🔒

+

Enter your email and new password to update.

+
- - Back to login - +
+ + + {errors.email && ( +
+ {errors.email.message} +
+ )} +
+ +
+
+ +
+ +
+ + +
+ + {errors.password && ( +
+ {errors.password.message} +
+ )} +
+ {" "} + {" "} +
+
+ + +
+ {errors.confirmPassword && ( +
+ {errors.confirmPassword.message} +
+ )} +
+ +
+

+ Password must be at least 8 characters +

+

+ Password must contain at least one uppercase letter +

+

+ Password must contain at least one number +

+

+ Password must contain at least one special character +

+
+ + +
+ + + Back to login + +
-
-
+
); };