Skip to content

Commit a5ecb05

Browse files
authored
chore: Remove configure_hide_sensitive_data flag (#2834)
1 parent 68dc814 commit a5ecb05

File tree

1 file changed

+34
-38
lines changed

1 file changed

+34
-38
lines changed

frontend/web/components/pages/EnvironmentSettingsPage.js

+34-38
Original file line numberDiff line numberDiff line change
@@ -344,44 +344,40 @@ const EnvironmentSettingsPage = class extends Component {
344344
</Row>
345345
)}
346346
</div>
347-
{Utils.getFlagsmithHasFeature(
348-
'configure_hide_sensitive_data',
349-
) && (
350-
<div className='col-md-6 mt-4'>
351-
<Row className='mb-2'>
352-
<Switch
353-
checked={hide_sensitive_data}
354-
onChange={(v) => {
355-
this.confirmToggle(
356-
'The data returned from the API will change and could break your existing code. Are you sure that you want to change this value?',
357-
'hide_sensitive_data',
358-
hide_sensitive_data,
359-
)
360-
}}
361-
/>
362-
<h5 className='mb-0 ml-3'>Hide sensitive data</h5>
363-
</Row>
364-
<p className='fs-small lh-sm'>
365-
Exclude sensitive data from endpoints returning
366-
flags and identity information to the SDKs or via
367-
our REST API. For full information on the excluded
368-
fields see documentation{' '}
369-
<Button
370-
theme='text'
371-
href='https://docs.flagsmith.com/system-administration/security#hide-sensitive-data'
372-
target='_blank'
373-
className='fw-normal'
374-
>
375-
here.
376-
</Button>
377-
<div className='text-danger'>
378-
Warning! Enabling this feature will change the
379-
response from the API and could break your
380-
existing code.
381-
</div>
382-
</p>
383-
</div>
384-
)}
347+
<div className='col-md-6 mt-4'>
348+
<Row className='mb-2'>
349+
<Switch
350+
checked={hide_sensitive_data}
351+
onChange={(v) => {
352+
this.confirmToggle(
353+
'The data returned from the API will change and could break your existing code. Are you sure that you want to change this value?',
354+
'hide_sensitive_data',
355+
hide_sensitive_data,
356+
)
357+
}}
358+
/>
359+
<h5 className='mb-0 ml-3'>Hide sensitive data</h5>
360+
</Row>
361+
<p className='fs-small lh-sm'>
362+
Exclude sensitive data from endpoints returning
363+
flags and identity information to the SDKs or via
364+
our REST API. For full information on the excluded
365+
fields see documentation{' '}
366+
<Button
367+
theme='text'
368+
href='https://docs.flagsmith.com/system-administration/security#hide-sensitive-data'
369+
target='_blank'
370+
className='fw-normal'
371+
>
372+
here.
373+
</Button>
374+
<div className='text-danger'>
375+
Warning! Enabling this feature will change the
376+
response from the API and could break your
377+
existing code.
378+
</div>
379+
</p>
380+
</div>
385381
<FormGroup className='mt-4 col-md-6'>
386382
<Row className='mb-2'>
387383
<Switch

0 commit comments

Comments
 (0)