This repository was archived by the owner on Oct 26, 2022. It is now read-only.
Implement user email change workflow #367
Labels
feature
New feature or change that directly affects users
Desired Feature
Redesign the user profile page like below:

There needs to be a workflow implementation when a user changes their email. A bug was reported on City of Bakersfield project where a user can change their email without any verification. This bug was discussed with the boilerplate team and a workflow was determined as described in the comment on the issue.
Actual/Current Behavior
Currently, a user can change their own email and this is not detected or put through any sort of flow. When a user changes their email, there is no verification on the new email & their session gets logged out.
Steps to Implement
UserProfile
component in thefeatures/user
folder.UserProfileDetail
component following smart & presentation standard in thefeatures/user
folder.ChangeEmail
component following smart & presentation standard in thefeature/user
folder.UserProfileDetail
&ChangeEmail
component in theUserProfile
component.form-config
for each of the new form component & renderDynamicForm
in them.ChangeEmail
component if an email change has already been requested.ConfirmChangeEmail
in thefeatures/auth
folder that holds a form with an input for verification code.auth/confirm-change-email/:token
) in the AuthRoutingModule & render the above component.IConfirmChangeEmailRequest
that holds the properties for email change request payload.UserService
that sends the email change request to the server.The text was updated successfully, but these errors were encountered: