f4ec34b Ticket 48926 - Fixed reset & save button behavior in the password/account lockout panels

Authored and Committed by mreynolds 7 years ago
    Ticket 48926 - Fixed reset & save button behavior in the password/account lockout panels
    
    Bug Description:  Hitting the "reset" button would put the panel into an odd
                      state that caused the "save" button to remain disabled.
    
    Fix Description:  First, we needed to properly enable/disable all the components
                      when initializing the password policy and account lock panels.
                      Then when validating an update, only check enabled components.
                      Finally, when enabling/disabling the account lock out, make sure
                      the lockout duration is also updated.
    
    https://fedorahosted.org/389/ticket/48926
    
    Reviewed by: nhosoi(Thanks!)