-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
settings: Fix updating realm join restrictions setting.
This commit fixes the bug when updating "Restrict email domains of new users?" setting by adding data-setting-widget-type attribute to the select element as get_input_element_value now expects every element to have that attribute after 64c8262. Due to this change, we also need to update the code in populate_data_for_request function to not send invalid parameter in the request. This change resulted in some refactoring which now helps in not passing in the "disallow_disposable_email_addresses" and "email_restricted_to_domains" when these fields are not changed.
- Loading branch information
Showing
3 changed files
with
35 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters