Closed
Bug 798150
Opened 13 years ago
Closed 13 years ago
Add an API endpoint to Solitude for creating an account with a PIN
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wraithan, Unassigned)
References
Details
I think user creation is already there from the PayPal stuff, I'll see if I can slurp that up and use it. PIN will be hashed using make_password like django.contrib.auth does passwords.
Comment 1•13 years ago
|
||
Not sure if this is what you meant but we should do what django-sha2 does (not contrib.auth) for stronger hashes https://github.com/fwenzel/django-sha2#readme We already have that in place so you can probably use its lib.
| Reporter | ||
Comment 2•13 years ago
|
||
Yeah, it adds additional hashers for contrib.auth so instead of having to try to use it directly I can just use make_password and check_password, which is super easy to use and does the salting and formatting all for you.
| Reporter | ||
Comment 3•13 years ago
|
||
Initial dev: https://github.com/mozilla/solitude/commit/749236d3b832b735de78f7e5de74242589d3a4f1
Patch: https://github.com/mozilla/solitude/commit/cf4aba0b3e70971f38689faa3bb101abb5738da7
This meets the needs of this ticket, may need a bit more work as the front end finishes up.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•