Opened 12 years ago
Closed 11 years ago
#31226 closed defect (bug) (fixed)
Pasting a password does not trigger the Password strength indicator
| Reported by: | wimfeijen | Owned by: | dipesh.kakadiya |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Users | Version: | 4.1 |
| Severity: | normal | Keywords: | good-first-bug has-patch commit |
| Cc: | Focuses: | javascript, administration |
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
@
12 years ago
- Component General → 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
@
12 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.
#6
follow-up:
↓ 8
@
12 years ago
- Keywords needs-refresh added
val('') was added in [10046] to avoid autocomplete issues, and probably should not be removed.
@
12 years ago
revise patch for trigger the Password strength indicator while paste password using mouse
#8
in reply to: ↑ 6
@
11 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
@
11 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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?