UX vs Security: Should the 'Confirm Password' Field Disable Paste? #1619
Unanswered
azizbenzarti
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
here:
<PasswordInput
type="confirm_password"
startElement={}
{...register("confirm_password", confirmPasswordRules(getValues))}
placeholder="Confirm Password"
errors={errors}
/>
we should add :
onPaste={(e) => e.preventDefault()}
inside the password input element
Operating System
Windows
Operating System Details
windows 11
Python Version
11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions