If user is adding some changes in the Authentication configurations, disabling the related authentication, and clicking Update - the changes related to disabled fields are not saved.
Additionally, in cases, if update of configuration is not successful, the disabled fields are displayed with no data, which is confusing.
Steps to reproduce:
#1
Case: Data of disabled fields is not updated
- Open Users->Authentication
- Open one of the tabs: HTTP settings / SAML settings / LDAP settings
- Enable selected authentication
- Add some data to available fields
- Uncheck the Enable authentication checkbox
- Click Update
- Re-open same configuration and review the settings
Result:
Authentication that was disabled is not updated
See video:
Expected:
Disabled fields should be updated
#2
Case: Fields with no data for disabled configuration in case of unsuccessful update
- Fill the configuration form for any of the Authentication
- Update the configurations
- Re-open the configuration
- Disable the previously updated authentication
- Apply some non-valid changes in the Authentication tab (for example, password length = 0 )
- Click Update
- Observe the error message and all tabs with settings
Result
All disabled fields are missing any data
See video:
Expected
Disabled fields should contain previously added data