~seb128/ubuntu-system-settings/sound-keyboard-backend

Viewing all changes in revision 1016.

  • Committer: CI bot
  • Author(s): Michael Terry
  • Date: 2014-09-09 16:39:44 UTC
  • mfrom: (1003.1.2 no-pin-on-boot)
  • Revision ID: ps-jenkins@lists.canonical.com-20140909163944-niwi6sod0iornnu9
Allow switch from PIN code to passphrase and back using the same password.  (LP: #1357043)

The reason this bug exists in the first place is that passwd doesn't let you switch to the same password.  So while we could change the AccountsService password display hint just fine, we'd see an error from passwd and bail out.  So IF the user gave us the correct password, we can ignore any errors from passwd if the new password is the same.

I also added some more verbose output in some error cases while I was there.  It'll be helpful when debugging in the future (and I didn't want to separate it out into its own branch because conflicts). Fixes: 1357043
Approved by: Sebastien Bacher

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: