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

Change password through API #797

Closed
KasperBrandt opened this issue Oct 13, 2014 · 0 comments
Closed

Change password through API #797

KasperBrandt opened this issue Oct 13, 2014 · 0 comments
Assignees
Milestone

Comments

@KasperBrandt
Copy link
Contributor

Users should be able to change their password, making use of the API.

@KasperBrandt KasperBrandt self-assigned this Oct 13, 2014
@KasperBrandt KasperBrandt added this to the 3.0 Helsinki milestone Oct 13, 2014
KasperBrandt added a commit that referenced this issue Oct 14, 2014
The REST API has been updated with a new view on the usel model: /rest/v1/user/{pk}/change_password. A POST request to this view with the old_password, new_password1 and new_password2 will check if the credentials are valid and will update the user password.

Also, the form and view in MyRSR for updating a user password has been updated, now using the API through jQuery.
@kardan kardan modified the milestones: V3 - v42, 3.0 Helsinki Oct 15, 2014
KasperBrandt added a commit that referenced this issue Oct 24, 2014
KasperBrandt added a commit that referenced this issue Oct 24, 2014
- Implemented a PermissionDenied when a user tries to change another user's password
- Placed the CSRF javascript code in a separate file
- Some small style issues
- Removed the max_length for passwords
@kardan kardan modified the milestones: V3 - v43, V3 - v42 Oct 24, 2014
zzgvh added a commit that referenced this issue Oct 24, 2014
@KasperBrandt KasperBrandt modified the milestones: V3 - v43, RSR v3 Jan 20, 2015
@MichaelAkvo MichaelAkvo moved this to Done in RSR Dec 8, 2022
@MichaelAkvo MichaelAkvo added this to RSR Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants