Project

Profile

Help

Issue #3123

closed

The jwt reset endpoint should return 204 probably

Added by daviddavis over 6 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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"
}

Also available in: Atom PDF