Skip to content

Commit

Permalink
Fix: add allow list option names to security form connection
Browse files Browse the repository at this point in the history
  • Loading branch information
nateweller committed Jul 26, 2024
1 parent 2737b0e commit c8e64a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/my-sites/site-settings/allow-list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import FormTextarea from 'calypso/components/forms/form-textarea';

class AllowList extends Component {
static propTypes = {
fields: PropTypes.object,
fields: PropTypes.object.isRequired,
isRequestingSettings: PropTypes.bool,
isSavingSettings: PropTypes.bool,
onChangeField: PropTypes.func.isRequired,
Expand Down
2 changes: 2 additions & 0 deletions client/my-sites/site-settings/form-security.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ const getFormSettings = ( settings ) =>
'protect',
'jetpack_protect_global_whitelist',
'jetpack_waf_automatic_rules',
'jetpack_waf_ip_allow_list',
'jetpack_waf_ip_allow_list_enabled',
'jetpack_waf_ip_block_list',
'jetpack_waf_ip_block_list_enabled',
'jetpack_waf_automatic_rules_last_updated_timestamp',
Expand Down

0 comments on commit c8e64a8

Please sign in to comment.