summaryrefslogtreecommitdiffstats
path: root/web/react/components/admin_console/privacy_settings.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-09 12:24:39 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-09 12:24:39 -0700
commit61f92517f317f4b3f437b8db48f31c569ceb5f2d (patch)
tree23b9d7227a502a54187af96ec91eed6e1f4b7d69 /web/react/components/admin_console/privacy_settings.jsx
parent12cd7c03d6676466f7b10b8e80b4e05edab0cf2a (diff)
downloadchat-61f92517f317f4b3f437b8db48f31c569ceb5f2d.tar.gz
chat-61f92517f317f4b3f437b8db48f31c569ceb5f2d.tar.bz2
chat-61f92517f317f4b3f437b8db48f31c569ceb5f2d.zip
PLT-586 fixing issues with security alert
Diffstat (limited to 'web/react/components/admin_console/privacy_settings.jsx')
-rw-r--r--web/react/components/admin_console/privacy_settings.jsx34
1 files changed, 0 insertions, 34 deletions
diff --git a/web/react/components/admin_console/privacy_settings.jsx b/web/react/components/admin_console/privacy_settings.jsx
index a32ca3136..70ec04f4a 100644
--- a/web/react/components/admin_console/privacy_settings.jsx
+++ b/web/react/components/admin_console/privacy_settings.jsx
@@ -30,7 +30,6 @@ export default class PrivacySettings extends React.Component {
var config = this.props.config;
config.PrivacySettings.ShowEmailAddress = React.findDOMNode(this.refs.ShowEmailAddress).checked;
config.PrivacySettings.ShowFullName = React.findDOMNode(this.refs.ShowFullName).checked;
- config.PrivacySettings.EnableSecurityFixAlert = React.findDOMNode(this.refs.EnableSecurityFixAlert).checked;
Client.saveConfig(
config,
@@ -138,39 +137,6 @@ export default class PrivacySettings extends React.Component {
</div>
<div className='form-group'>
- <label
- className='control-label col-sm-4'
- htmlFor='EnableSecurityFixAlert'
- >
- {'Send Error and Diagnostic: '}
- </label>
- <div className='col-sm-8'>
- <label className='radio-inline'>
- <input
- type='radio'
- name='EnableSecurityFixAlert'
- value='true'
- ref='EnableSecurityFixAlert'
- defaultChecked={this.props.config.PrivacySettings.EnableSecurityFixAlert}
- onChange={this.handleChange}
- />
- {'true'}
- </label>
- <label className='radio-inline'>
- <input
- type='radio'
- name='EnableSecurityFixAlert'
- value='false'
- defaultChecked={!this.props.config.PrivacySettings.EnableSecurityFixAlert}
- onChange={this.handleChange}
- />
- {'false'}
- </label>
- <p className='help-text'>{'When true, System Administrators are notified by email if a relevant security fix alert has been announced in the last 12 hours. Requires email to be enabled.'}</p>
- </div>
- </div>
-
- <div className='form-group'>
<div className='col-sm-12'>
{serverError}
<button