Users entering passwords in the custom user field

AI-generated summary

Users on a Discourse forum are accidentally entering their passwords into a custom user field meant for location data, due to its placement directly beneath the password field — a common UX pitfall where users expect to retype passwords for confirmation. SlyRemarks notes this is problematic since the location field must remain publicly visible, and while they’ve adjusted the styling and wording to reduce confusion, they’d prefer the password field to be last. sam disagrees with moving the field but agrees the UX is flawed, proposing automatic detection of password-like entries in non-password fields to halt submission until corrected. fefrei strongly supports this detection idea, noting there’s no legitimate reason for users to echo passwords elsewhere. Mittineague suggests visual separators like horizontal rules or fieldsets as alternatives, while erlend_sh reminds the team to test auto-fill tools to ensure robots aren’t confused by the changes. The core issue centers on preventing password exposure through better form design and validation.

We’ve noticed something interesting and a bit concerning on our Discourse: users are entering their passwords on an user field we’ve added. Basically, it is really helpful for our community that users share their location, it makes supporting them much easier. Therefore when they sign up they are asked for this information so others, especially the moderators, have an easier job (so the information needs to be publicly visible). Because this field is placed directly beneath the password field, and on a lot of sites you’re asked to confirm the password, users automatically write their passwords twice without really reading the description.

We’ve changed the style-sheet so that the user field is more distinctive and have reworded it too. Ideally the password would be the last field, not the field we’ve added. Have I missed something, is there a way to do this?

3 « J'aime »

I am not sure I agree about moving it to the end, but totally acknowledge something is off and by default we should do a better job.

We could automatically detect people entered the password in a non password field and stop all progress till they amend it.

3 « J'aime »

Would a horizontal rule or fieldsets work well enough?

1 « J'aime »

I’m not aware of any issues, but those using auto fill tools should also test this and make sure we’re not confusing any robots.

2 « J'aime »

This sounds like a very good idea. There is no good reason users should echo their password (or anything very similar) in any other field…

3 « J'aime »