summaryrefslogtreecommitdiffstats
path: root/web/react/components/admin_console/privacy_settings.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-12 13:56:21 -0700
committerCorey Hulen <corey@hulen.com>2015-10-12 13:56:21 -0700
commita6a3c351a828441313e90c1ac8e6afbfadad1f7c (patch)
treee7d41a6789d421d8cbcbbb1417edf74810ac3672 /web/react/components/admin_console/privacy_settings.jsx
parent7a469c8fc19694a2d6afd2bd420ba6fd3a9a0d93 (diff)
parent9f83a72f7330857e06095403c1cf5402bef455d6 (diff)
downloadchat-a6a3c351a828441313e90c1ac8e6afbfadad1f7c.tar.gz
chat-a6a3c351a828441313e90c1ac8e6afbfadad1f7c.tar.bz2
chat-a6a3c351a828441313e90c1ac8e6afbfadad1f7c.zip
Merge pull request #997 from mattermost/PLT-586
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