Please include a summary of the change and which issue is resolved. List any dependencies that are required for this change.
Added optional profile picture field to registration route, as well as backend password validation with proper error info sent to the front-end in case of validation errors.
As an added bonus; all new registered users now automatically get their extra_user_info models generated, which should prevent issues down the line.
Type of change
Please delete options that are not relevant.
[x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Created users with and without profile picture field.
Tested various password combinations.
Checklist:
Please check [x] all that apply.
[X] My code follows similar styling to existing code in this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, at the very least in hard-to-understand areas
[ ] I have made corresponding changes to documentation / READMEs
[X] My changes generate no new warnings
[ ] I have remade my frontend and backend Docker containers to ensure my changes do not break the setup for these
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] I have checked my code and corrected any misspellings
Description
Added optional profile picture field to registration route, as well as backend password validation with proper error info sent to the front-end in case of validation errors.
As an added bonus; all new registered users now automatically get their extra_user_info models generated, which should prevent issues down the line.
Type of change
How Has This Been Tested?
Checklist: