Reset MFA error upon update (#3387)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
eb76e61534
Коммит
295d265709
@@ -306,7 +306,7 @@ class SecurityTab extends React.Component {
|
|||||||
|
|
||||||
updateSectionStatus = function resetSection(e) {
|
updateSectionStatus = function resetSection(e) {
|
||||||
this.props.updateSection('');
|
this.props.updateSection('');
|
||||||
this.setState({mfaToken: '', mfaShowQr: false, mfaError: null});
|
this.setState({mfaToken: '', mfaShowQr: false, mfaError: null, serverError: null});
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user