graasp / graasp-account

GNU Affero General Public License v3.0
0 stars 2 forks source link

Use new password queries (post, patch and status) #359

Closed spaenleh closed 5 days ago

spaenleh commented 2 weeks ago

There is a new endpoint to get the password status of the current member which allows to know if they have set a password already or not.

New endpoints also exist to:

  1. create a password when the member does not have one already
  2. update the password when they want to change it

We need to use these new endpoints to provide a better user experience for users that will want to add or update their passwords. Currently the experience is really not great because it only uses the patch endpoint and thus users need to provide a password in the current password field even though they do not have one set...