Changing account details causes an error message

  • TrivialMinorModerateSeriousCritical
  • Marked as
    Completed
  • Assigned to
    Nobody
#179 Reported over 4 years ago by Brook Elgie (Project member)

Changing account details causes my submission to fail.

I wanted to add an IM address to my account page.
I added the IM address and went to the bottom of the page to use the Submit button.

When I pressed the submit button at the bottom of the page a confirm dialogue appeared with the following message:

##########
Confirm Password Change

Would you like to have Password Manager change the stored password for example@example.com?
##########

I didn’t think I was making any changes to my password so clicked “No”.

My account page was submitted an returned with the following flash error message:

###########
There was 1 error with your submission, so we were unable to complete your request. Please review your submission and try again.

* Password doesn’t match confirmation

###########


Discussion and changes

Post a comment
9 months ago
Brook Elgie assigned this to Nobody
9 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