Visiting /add/individual (the individual profile creation URL) initiates the process of creating an individual profile even if the logged-in user has a profile already.
To Reproduce
Steps to reproduce the behavior:
Log in.
Ensure that you have a profile.
Visit /add/individual.
See empty Step 1 form.
Expected behavior
The user should be redirected to their profile and an error message should be displayed.
Additional Context
The only check currently performed determines if the user is logged in. An additional check is needed for User.has_profile.
Describe the bug
Visiting
/add/individual
(the individual profile creation URL) initiates the process of creating an individual profile even if the logged-in user has a profile already.To Reproduce
Steps to reproduce the behavior:
/add/individual
.Expected behavior
The user should be redirected to their profile and an error message should be displayed.
Additional Context
The only check currently performed determines if the user is logged in. An additional check is needed for
User.has_profile
.