forked from juju/juju
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#10369 from hpidcock/1833449-register-uppercas…
…e-username juju#10369 ## Description of change Not all user store operations correctly formatted the mongo document id. This fixes the behaviour in all affected user state functions and add tests to ensure this behaviour works. Previously `juju register` with a secret token failed because the update password didn't behave correctly when a username contained uppercase. ## QA steps Adding a user and registering that user should succeed when the username contains uppercase. ``` juju bootstrap localhost juju add-user TestName XDG_DATA_HOME=`mktemp -d` juju register <secret token from add-user>` ``` ## Documentation changes N/A ## Bug reference [https://bugs.launchpad.net/juju/+bug/1833449](https://bugs.launchpad.net/juju/+bug/1833449)
- Loading branch information
Showing
2 changed files
with
98 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters