Voxelmanip Forums
Arisotura Arisotura
Posted on 2025-10-09 21:54 (edited 2025-10-09 21:55) Link
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 ROllerozxa
Posted on 2025-10-10 00:27 Link
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
Yup, it's perfect now! Thank you!