Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Removed email change from user and profile update, added separate route for recovery email update #945

Merged
merged 15 commits into from
Aug 23, 2024

Conversation

johnson-oragui
Copy link
Collaborator

This Pull request aims to remove the change of email from /users and /profile endpoint. The change of user email is now moved to PUT /profile, and a user email can only be changed from email confirmation for security reason and to ensure data integrity.

Description

This Pull request aims to remove the change of email from /users and /profile endpoint. The change of user email is now moved to PUT /profile, and a user email can only be changed from email confirmation for security reason and to ensure data integrity.

Related Issue (Link to issue ticket)

[FIX] Include the addition of social links in the profile update #935
[FIX] Remove the email from fields to be updated on users profile. #937
[FIX] Create a different endpoint to handle change of emails for users. #938

[FIX] [ANCHOR: BE PYTHON] Create a different endpoint to handle change of emails for users. #912
[FIX] [ANCHOR: BE PYTHON] Remove the email from fields to be updated on users profile. #914
[FIX] [ANCHOR: BE PYTHON] Include the addition of social links in the profile update #915

Motivation and Context

How Has This Been Tested?

This has been tested with pytest and postman.

Screenshots (if appropriate - Postman, etc):


bugfix profile bio

bugfix profile username

bugfix profile fake social link

bugfix profile fileds empty

bugfix profile email sent for verify_email postman

bugfix profile email receieved

bugfix profile recovery email successfully updated

bugfix profile recovery email now added to user profile

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@johnson-oragui
Copy link
Collaborator Author

@trevorjob

kindly review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment