Post a comment to "Changing account details causes an error message"

Cancel

Previous comments on this ticket

10 months ago
Brook Elgie assigned this to Nobody
10 months ago
Brook Elgie updated description
Over 4 years ago
Dan Glegg (Project owner)

Having experiemented a little, I hope you find this useful:

Renaming the fields can cause problems with mass-assignment in Rails, which, although irrelevant as passwords are protected attributes, I don’t like to break in case I want this functionality later.

I have instead added an onsubmit event that blanks the password fields unless you confirmed a new password.

Over 4 years ago
Dan Glegg changed status to Completed
Over 4 years ago
Dan Glegg upgraded rating to TrivialMinorModerateSeriousCritical
Over 4 years ago
Dan Glegg changed status to In progress
Over 4 years ago
Dan Glegg assigned this to Dan Glegg
Over 4 years ago
Dan Glegg upgraded rating to TrivialMinorModerateSeriousSeverity_star_tiny_inactive
Over 4 years ago
Dan Glegg (Project owner)

Yeah, it’s your autocomplete. I’ll have to tweak the field names.

Over 4 years ago
Brook Elgie updated description
Over 4 years ago
Brook Elgie (Project member)

I think the problem is that my email and password are being auto-completed (probably by my browser—not by Tails, right?). So I’ve got my password sitting in the first field of the change password section and an empty password confirm field. When I submit Tails thinks I want to change my password and rightly returns an error when it can’t find the duplicate password to confirm.

Could the first password field use a different name/id to that used on the login page to stop browsers auto-completing it?

Over 4 years ago
Brook Elgie created this

Terms of Service Privacy policy Report a problem with the bugtracker