Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current password field is required when a user changes their password #368

Closed
miskopo opened this issue May 15, 2024 · 0 comments · Fixed by #414
Closed

Current password field is required when a user changes their password #368

miskopo opened this issue May 15, 2024 · 0 comments · Fixed by #414
Labels
bug Something isn't working

Comments

@miskopo
Copy link
Member

miskopo commented May 15, 2024

Reproducer:

  • login as a user (e.g. admin)
  • in logged-in user's details, bottom kebab menu, click on Reset password
  • provide a new password
  • click on Reset Password

Actual behaviour:
image

Cause:
When a user is changing their own password, argument current_password is required [1]

Note:
The field current_password is not required when an admin is changing other user's passwords.

[1] https://freeipa.readthedocs.io/en/latest/api/passwd.html

@miskopo miskopo added the bug Something isn't working label May 15, 2024
@miskopo miskopo changed the title Bug: Current password field is required when a user changes their password Current password field is required when a user changes their password May 15, 2024
carma12 added a commit to carma12/freeipa-webui that referenced this issue Jun 6, 2024
There is an error when a given user try
to update its own password being logged in.
This is due to a missing parameter
`current_password` needed from the API
call.

Fixes: freeipa#368
Signed-off-by: Carla Martinez <[email protected]>
carma12 added a commit to carma12/freeipa-webui that referenced this issue Jun 6, 2024
There is an error when a given user try
to update its own password being logged in.
This is due to a missing parameter
`current_password` needed from the API
call.

Fixes: freeipa#368
Signed-off-by: Carla Martinez <[email protected]>
carma12 added a commit to carma12/freeipa-webui that referenced this issue Jun 6, 2024
There is an error when a given user try
to update its own password being logged in.
This is due to a missing parameter
`current_password` needed from the API
call.

Fixes: freeipa#368
Signed-off-by: Carla Martinez <[email protected]>
carma12 added a commit that referenced this issue Jun 7, 2024
There is an error when a given user try
to update its own password being logged in.
This is due to a missing parameter
`current_password` needed from the API
call.

Fixes: #368
Signed-off-by: Carla Martinez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant