FAForever / faf-python-api

Deprecated python api - please go to faf-java-api for the current api!
https://github.com/FAForever/faf-java-api
GNU General Public License v3.0
3 stars 10 forks source link

Changing user account details (reimplement legacy php code) #124

Closed Brutus5000 closed 7 years ago

Brutus5000 commented 7 years ago
Brutus5000 commented 7 years ago

New routes are: POST /users/register (args: name, email, pw_hash) _GET /users/validateregistration/ (for use via email-link only) POST /users/reset_password (args: name, email, pw_hash -> for new pw) _GET /users/validatepassword/ (for use via email-link only) POST /users/change_password (requires oauth('write_account_data'), args: name, pw_hash_old, pw_hash_new) POST /users/change_name (requires oauth('write_account_data'), args: desired_name)