Actions
Issue #3123
closedThe jwt reset endpoint should return 204 probably
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 28
Quarter:
Description
Currently it returns 200 with a list of user attributes:
$ http POST :8000/api/v3/users/admin/jwt_reset/
HTTP/1.0 200 OK
Allow: POST, OPTIONS
Content-Length: 92
Content-Type: application/json
Date: Wed, 08 Nov 2017 21:07:33 GMT
Server: WSGIServer/0.2 CPython/3.5.4
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"_href": "http://localhost:8000/api/v3/users/admin/",
"is_superuser": true,
"username": "admin"
}
Actions
Fix jwt reset response
fixes #3123 https://pulp.plan.io/issues/3123