Opened 15 years ago
Closed 14 years ago
#14031 closed defect (bug) (fixed)
Login form JavaScript focus unsets browser saved credentials
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.0.1 |
Component: | UI | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
JavaScript function wp_attempt_focus
empties out username form
input, not accounting for users that have used a web browser's 'save user/password' feature.
Affects Firefox 3.6.3 - other browsers not tested.
Attachments (3)
Change History (15)
#5
@
15 years ago
Agreed - this is damn annoying. I administer quite a few different WP sites and my only saving grace is Firefox's saved password feature. The saved password still works - but only if I REMEMBER the username I'm trying to log in as.
And yes, it's too time-consuming to look up usernames for every one of the 100+ installs I take care of.
#6
@
15 years ago
Yeah this would save those who support other users with their wordpress setups a lot as the login names can now differ and the auto-complete dropdown can grow very large now.
#9
@
14 years ago
I don't think it's such a good solution to change focus to the submit button. Most people will not notice that the focus is on the button. Instead of being annoyed that they have to type their name in again, they will be annoyed that they have to use the mouse to click submit. I see no reason to change focus away from one of the two fields.
Problem confirmed. Patch submitted.
My solution is:
if username memorized by wp -> focus on the password field
if invalid username -> clear the username field, focus on it
else if username autocompleted -> focus on the submit button
I tested it and works well