|
| |
| HomeFAQMember listActive usersLatest postsSearch | RegisterLog in |
| Arisotura | Arisotura | Posted on 2025-10-09 21:54 (edited 2025-10-09 21:55) Link |
|
Posts: 11 Joined: 2025-10-09 |
My browser autofills the first password field, but the second one is blank. I guess that makes sense... the issue is that if I try to submit the form like that, I get an error because the two fields don't match, so I need to remember to clear the first password field. I wonder if there's a way to change that... I looked back at how it works on my board... it asks you for your current password, new password, repeat new password. It doesn't attempt to change your password unless both "new password" fields are filled (and then it throws an error if they don't match, or if "current password" is incorrect). Maybe something like this could work? (I notice that if "current password" and "new password" are filled but not "repeat new password", it ignores the fields and doesn't change your password. not ideal) |
| ROllerozxa |
|
Posted on 2025-10-10 00:27 Link |
|
Posts: 249 Joined: 2022-06-04 |
Hmm I see. Checking whether both password fields have something in them sounds like a good idea, but I ended up looking into it and apparently there is a hint called autocomplete="new-password" specifically for putting on "enter new password" fields to tell browsers not to autofill it, which sounds just about perfect. The change is live, and I tested that it should at least work on Firefox, I assume that's what you're still rocking. |
| Arisotura | Arisotura | Posted on 2025-10-10 11:06 Link |
|
Posts: 11 Joined: 2025-10-09 |
Yup, it's perfect now! Thank you! |
Rendered in 16.148 ms with 573KB memory used
Voxelmanip Forums (Cirrusboard)© 2022-2025 ROllerozxa, et al. |