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

Add an API Route for password change by the user #779

Closed
siddnikh opened this issue May 23, 2022 · 3 comments
Closed

Add an API Route for password change by the user #779

siddnikh opened this issue May 23, 2022 · 3 comments
Assignees
Labels

Comments

@siddnikh
Copy link
Contributor

Need to make an API route that lets the user update their password. Needed to solve this issue: coronasafe/care_fe#2459

@siddnikh siddnikh added the API label May 23, 2022
@siddnikh siddnikh self-assigned this May 23, 2022
@sainak
Copy link
Member

sainak commented May 25, 2022

@siddnikh we can just fix the UserSerializer update method to handle password field changes, also make the password a writeonly field, by doing this we can just PATCH the password, I don't think there is a requirement for a separate endpoint.

@siddnikh
Copy link
Contributor Author

@sainak I ended up making another route because I was a little unsure about how to proceed. Please review it when you get a chance and tell me if there's some changes I need to add to do it how you suggested to.

@siddnikh
Copy link
Contributor Author

Here's the PR that solves this issue: #797

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants