From a640af8c79778f4a290aff385b287a126602a093 Mon Sep 17 00:00:00 2001 From: Alex Cheung Date: Thu, 18 Jul 2024 17:46:18 +0800 Subject: [PATCH] update change password page add text --- src/pages/User/ChangePasswordPage/index.js | 15 +++++++++++++-- .../ForgotPassword/AuthCallback/index.js | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/src/pages/User/ChangePasswordPage/index.js b/src/pages/User/ChangePasswordPage/index.js index 0868bd0..b9b6367 100644 --- a/src/pages/User/ChangePasswordPage/index.js +++ b/src/pages/User/ChangePasswordPage/index.js @@ -196,13 +196,13 @@ const Index = () => {
{isPasswordExpiry()? - + : - + @@ -370,6 +370,17 @@ const Index = () => { )} + + + + •
+ •
+ •
+ •
+ •
+
+
+
diff --git a/src/pages/authentication/ForgotPassword/AuthCallback/index.js b/src/pages/authentication/ForgotPassword/AuthCallback/index.js index 8d290cc..6f813df 100644 --- a/src/pages/authentication/ForgotPassword/AuthCallback/index.js +++ b/src/pages/authentication/ForgotPassword/AuthCallback/index.js @@ -186,6 +186,10 @@ const Index = () => { } }); + const handleCCPChange = (e) => { + e.preventDefault(); + }; + return ( isLoading || verifyState == null ? @@ -380,6 +384,9 @@ const Index = () => { value={formik.values.confirmPassword.trim()} error={Boolean(formik.touched.confirmPassword && formik.errors.confirmPassword)} onBlur={formik.handleBlur} + onCut={handleCCPChange} + onCopy={handleCCPChange} + onPaste={handleCCPChange} inputProps={{ maxLength: 50, onKeyDown: (e) => { @@ -414,6 +421,17 @@ const Index = () => { )} + + + + •
+ •
+ •
+ •
+ •
+
+
+