You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
Currently, there is no possibility to edit any of the user's information, meaning if a user has lost his password or wants to change his email there is no way to remedy that.
The username field should remain unique and immutable.
Describe the solution you'd like
A possibility to edit a user's information through the API.
Describe alternatives you've considered
It could be done by adding the possibility to make a 'PUT' request on /users/username with the necessary credentials in headers, and the field to edit in the body. Currently, only the email field is editable.
For passwords, if the body contains a password field then check if it is valid and identical to the current one and then replace it or not.
Adding a 'POST' endpoint at /users/resetPassword that would send an expiring link to a given email for him/her to change its password.
Adding a 'POST' endpoint at /users/changePassword that would require credentials, the current password and the new one. Check their validity then replace it or not.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
Currently, there is no possibility to edit any of the user's information, meaning if a user has lost his password or wants to change his email there is no way to remedy that.
The
username
field should remain unique and immutable.Describe the solution you'd like
A possibility to edit a user's information through the API.
Describe alternatives you've considered
It could be done by adding the possibility to make a
'PUT'
request on/users/username
with the necessary credentials in headers, and the field to edit in the body. Currently, only theemail
field is editable.password
field then check if it is valid and identical to the current one and then replace it or not.Adding a
'POST'
endpoint at/users/resetPassword
that would send an expiring link to a given email for him/her to change its password.Adding a
'POST'
endpoint at/users/changePassword
that would require credentials, the current password and the new one. Check their validity then replace it or not.The text was updated successfully, but these errors were encountered: