Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ChangePassword Function #5148

Merged
merged 14 commits into from
Feb 17, 2020
Merged

Fix ChangePassword Function #5148

merged 14 commits into from
Feb 17, 2020

Conversation

crossan007
Copy link
Contributor

@crossan007 crossan007 commented Feb 2, 2020

What's this PR do?

Refactors the password change workflows to use the new /v2 API MVC paradigm.

Business logic for password validation is separated from view code.

Typed exceptions are introduced for errors that crop up during a password change.

Administrative "password sets" are a different view template than a self-service user password change. If an administrator tries to "set" their own password, they'll be redirected into the user self-service password change workflow

Review the new .feature browser automation tests for more details

What Issues does it Close?

Closes #5145

Where should the reviewer start?

Review the new .feature browser automation tests for more details

How should this be manually tested?

Review the new .feature browser automation tests for more details

How should the automated tests treat this?

Review the new .feature browser automation tests for more details

@crossan007 crossan007 changed the title initial commit to move ChangePassword to V2 style page Fix ChangePassword Function Feb 2, 2020
@crossan007 crossan007 marked this pull request as ready for review February 14, 2020 03:02
@crossan007 crossan007 added this to the 4.0.1 milestone Feb 14, 2020
Copy link
Collaborator

@MrClever MrClever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested successfully at my end - set it free.

@crossan007
Copy link
Contributor Author

crossan007 commented Feb 14, 2020

There are still a few fringe cases I need to address here:

  • ensuring that the same "new password" was entered twice (This will be client-side instead of server side this time around)
  • Possibly others?

@crossan007 crossan007 merged commit 11a73e3 into master Feb 17, 2020
@crossan007 crossan007 deleted the bugfix/change-password branch February 17, 2020 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Password change page is broken
2 participants