37b7b28 Added password reset capabilities to unauthorized dialog

Authored and Committed by pvoborni 12 years ago
    Added password reset capabilities to unauthorized dialog
    
    Web UI was missing a way how to reset expired password for normal user. Recent server patch added API for such task. This patch is adding reset password form to unautorized dialog.
    
    If user tries to login using form-based authentication and his password is expired login form transforms to reset password form. The username and password are used from previous login attempt. User have to enter new password and its verification. Then he can hit enter button on keyboard or click on reset button on dialog to perform the password reset. Error is displayed if some part of password reset fails. If it is successful new login with values entered for password reset is performed. It should login the user. In password reset form user can click on cancel button or hit escape on keyboard to go back to login form.
    
    https://fedorahosted.org/freeipa/ticket/2755
    
        
file modified
+302 -96
file modified
+6 -4