harborctl icon indicating copy to clipboard operation
harborctl copied to clipboard

[NOTE] Notes on "PUT /users/{user_id}/password" API

Open moooofly opened this issue 7 years ago • 1 comments

Here are some notes with "PUT /users/{user_id}/password" API


By swagger file, when login as admin role

the attribute ‘old_password’ is optional when the API is called by the system administrator.

image

image

image

image

image

image

moooofly avatar Nov 04 '18 15:11 moooofly

inconsistent behavior

when creating a new user at "Register" page, it requires "8-20 characters long with 1 uppercase, 1 lowercase and 1 number".

image

but with "PUT /users/{user_id}/password" API, you can change the password any form you wish.

moooofly avatar Nov 04 '18 15:11 moooofly