settings:change login password page implementation.

This commit is contained in:
2025-08-06 12:04:27 +05:30
parent 67fce2c01e
commit 3ee40cad55
4 changed files with 269 additions and 12 deletions

View File

@@ -187,15 +187,7 @@ export default function SetLoginPwd() {
value={confirmPassword}
onChange={(e) => setConfirmPassword(e.currentTarget.value)}
type={confirmVisible ? 'text' : 'password'}
// rightSection={
// <button
// type="button"
// onClick={toggleConfirmVisibility}
// style={{ background: 'none', border: 'none', cursor: 'pointer', color: 'grey' }}
// >
// {confirmVisible ? <IconEyeOff size={18} /> : <IconEye size={18} />}
// </button>
// }
onCopy={(e) => e.preventDefault()}
onPaste={(e) => e.preventDefault()}
onCut={(e) => e.preventDefault()}
@@ -215,7 +207,7 @@ export default function SetLoginPwd() {
onChange={(e) => setCaptchaInput(e.currentTarget.value)}
required
/>
{captchaError && <p style={{ color: 'red',fontSize:'12px' }}>{captchaError}</p>}
{captchaError && <p style={{ color: 'red', fontSize: '12px' }}>{captchaError}</p>}
</div>
<Button