accounts-ui
accounts-ui copied to clipboard
When switching from sign in to register, a filled in password gets exposed
When a user fills in his credentials in the "default" mode (which is sign in
), and then realizes he should have made a new account instead and clicks on register
, the purpose of the fields changes, but the contents is not updated accordingly.
The second field is the password field, but becomes the e-mail field. When a user has already filled in something and then clicks on register, the password mask is removed, and the password is exposed.
What I would have expected is that either the fields are made empty, or that the contents of the fields is moved according with the purpose change of the fields.
Perhaps it would be wise not to reuse the fields, but to create two text fields which can only be used for login and three text fields which are used for the registration process, and keep the data separate accordingly.
What version are you on? We had a solution for this, but this could be a regression in that case.
Version 1.1.9 according to the contents of ~/.meteor/packages/accounts-ui
Could you try this on the latest version 1.2.16
, we did some work on remembering previously entered values to fields in around 1.2.10. @mauritslamers