ocadotechnology / codeforlife-portal-backend

Other
0 stars 22 forks source link

Reset password endpoints #258

Closed faucomte97 closed 9 months ago

faucomte97 commented 9 months ago

This change is Reviewable

SKairinos commented 9 months ago

backend/api/views/user.py line 49 at r2 (raw file):

Previously, SKairinos (Stefan Kairinos) wrote…
pk is actually str since all url params are strings. detail=True basically adds "pk" to the start of our path so the full path is "/reset-password/"

sorry, I meant

"(pk)/reset-password/(token)"