StarbaseCommunityProject / EndoLink

An open-source Starbase community website.
https://discord.gg/qDPF2z6Krh
GNU General Public License v3.0
2 stars 1 forks source link

Add profile picture field & password validation to user registration #60

Closed MaxWasUnavailable closed 2 years ago

MaxWasUnavailable commented 2 years ago

Description

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.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist:

Please check [x] all that apply.