mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Revert PLT-3233 (#3477)
This commit is contained in:
@@ -161,8 +161,9 @@ class UserSettingsGeneralTab extends React.Component {
|
||||
const confirmEmail = this.state.confirmEmail.trim().toLowerCase();
|
||||
|
||||
const {formatMessage} = this.props.intl;
|
||||
if (user.email === email) {
|
||||
this.setState({emailError: Utils.localizeMessage('user.settings.general.emailUnchanged', 'Your new email address is the same as your old email address.'), clientError: '', serverError: ''});
|
||||
|
||||
if (user.email === email && confirmEmail === '') {
|
||||
this.updateSection('');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user