[x] This isn't a duplicate of an existing pull request
Description
This PR adds functionality to the cancel button in individual and organizational profile flows, and blocks and redirects away from the individual profile creation flow if a user with a profile accesses it directly.
Steps to test
Start individual and organizational profile creation.
Cancel part way through.
Create an individual profile.
After it's created, navigate directly to /add/individual.
Expected behavior: Cancellation terminates flow and redirects to My Profiles. Visiting /add/individual when you already have a profile redirects to My Profiles and displays an error message to that effect.
Description
This PR adds functionality to the cancel button in individual and organizational profile flows, and blocks and redirects away from the individual profile creation flow if a user with a profile accesses it directly.
Steps to test
/add/individual
.Expected behavior: Cancellation terminates flow and redirects to
My Profiles
. Visiting/add/individual
when you already have a profile redirects toMy Profiles
and displays an error message to that effect.Additional information
Related issues