#5567 User should be notified for wrong password in password reset page
Closed: Fixed Opened by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1293870

Description of problem:
In WebUI, While resetting password in new user login page, if user enters wrong
old password the password reset procedure fails. In WebUI, user does not get
any warning message for wrong old password but in logs it shows error message
"The old password or username is not correct"
This behavior should be similar between WebUI and CLI.
Version-Release number of selected component (if applicable):
ipa-server-4.2.0-15.el7_2.3.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Create non admin user and set password in WebUI
2. Try to login with new non-admin user
3. UI will be redirected to password reset page
4. Enter wrong old password and New password
5. Click "Reset password and login"
Actual results:
Nothing happens if you enter wrong old password.
Expected results:
User should be prompted with error message saying "Old password is wrong"

Patch on mailing list

master:

  • d9983d8ec651166801cd9fac54378bdd527398a4 Fixed login error message box in LoginScreen page

ipa-4-2:

  • fc2a4d5366982e8103348293fb75c6b3099b1fbd Fixed login error message box in LoginScreen page

ipa-4-3:

  • 9f7146e98e53aef868a10ee2d8df4264d43dda63 Fixed login error message box in LoginScreen page

Metadata Update from @pvoborni:
- Issue assigned to akasurde
- Issue set to the milestone: FreeIPA 4.2.4

Metadata