Skip to content

Commit ea1438e

Browse files
committed
Comment key reseting dialog
1 parent 3857d0b commit ea1438e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/dashboard/Settings/SecuritySettings.react.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ export default class SecuritySettings extends DashboardView {
106106
label={<Label text='Master key' description='Using this key overrides all permissions. Not usable on client SDKs. Keep it secret!' />}
107107
input={<KeyField name='Master' hidden={true}>{currentApp.masterKey}</KeyField>} />
108108
</Fieldset>
109-
<Fieldset legend='Reset Master Key' description='Use this when your key has been compromised.'>
110-
<Field
111-
label={<Label text='Reset master key' description={<span>This will permanently reset the master <br/>key to a newly generated key.</span>} />}
112-
input={<FormButton color='red' value='Reset Master Key' onClick={() => this.setState({ showResetDialog: true })} />} />
113-
</Fieldset>
109+
{/*<Fieldset legend='Reset Master Key' description='Use this when your key has been compromised.'>*/}
110+
{/*<Field*/}
111+
{/*label={<Label text='Reset master key' description={<span>This will permanently reset the master <br/>key to a newly generated key.</span>} />}*/}
112+
{/*input={<FormButton color='red' value='Reset Master Key' onClick={() => this.setState({ showResetDialog: true })} />} />*/}
113+
{/*</Fieldset>*/}
114114
{permissions}
115-
{resetDialog}
115+
{/*{resetDialog}*/}
116116
<Toolbar section='Settings' subsection='Security & Keys' />
117117
</div>
118118
);

0 commit comments

Comments
 (0)