Opened 10 years ago
Closed 10 years ago
#31226 closed defect (bug) (fixed)
Pasting a password does not trigger the Password strength indicator
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Users | Keywords: | good-first-bug has-patch commit |
Focuses: | javascript, administration | Cc: |
Description
When creating a new user, pasting a password does not trigger the password strength indicator. The form gives an error on submit.
Workaround: type a space after the password, and then delete the space.
Why this annoys me: after filling the form completely with valid data, it gives an error on submit.
Using WordPress 4.1 Dutch language
Attachments (3)
Change History (16)
#2
@
10 years ago
- Component changed from General to Administration
- Focuses javascript added
- Keywords needs-patch good-first-bug added; reporter-feedback removed
Confirmed in Chrome 39 on osx. Issue happens when you paste via mouse but not when you paste with cmd-v.
#3
@
10 years ago
Right - we only check on keyup. Should check for paste perhaps, although if I recall correctly that requires a setTimeout. However, I don't believe that core actually rejects weak passwords - sounds like that may be a plugin.
#5
@
10 years ago
- Milestone changed from Awaiting Review to 4.2
- Owner set to dipesh.kakadiya
- Status changed from new to assigned
#6
follow-up:
↓ 8
@
10 years ago
- Keywords needs-refresh added
val('')
was added in [10046] to avoid autocomplete issues, and probably should not be removed.
@
10 years ago
revise patch for trigger the Password strength indicator while paste password using mouse
#8
in reply to:
↑ 6
@
10 years ago
I submitted revise patch please review it.
Replying to SergeyBiryukov:
val('')
was added in [10046] to avoid autocomplete issues, and probably should not be removed.
#11
in reply to:
↑ 10
@
10 years ago
Replying to helen:
Why did you go with
.bind()
instead of.on()
?
As I know bind is also indicate to on method that only reason I used bind.
I can not verify this. Pasting something into the passord field immediately triggers the password strength meter.
Did you try this with no plugins activated?