Description of problem:
It is possible to click on the Save_password button off the User's account settings page though the save button is greyed out.
Steps to Reproduce:
1. Login to SAM/Headpin as admin
2. Navigate to account settings via li.hello (username in right corner)
3. Note save password button is greyed out (nothing is entered in password field so this state is expected.)
Actual results:
Click on the Save Button and Receive 200 OK on a PUT Request; response data "passwordat least 5 characters". And save button now takes on a fully active state, not greyed out.
Expected results:
Button should be greyed out until matching passwords are entered into the password and confirm fields.
Additional info:
Also note that the Response data is _never_ received / seen by the user, must use firebug or some other http debug tool / method to see response.
Created attachment 576150[details]
Save button to inactive until all fields for password are entered
Verified the bug
katello-headpin-0.1.145-1.el6.noarch