freeipa-webui
freeipa-webui copied to clipboard
Current password field is required when a user changes their password
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:
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